Get the most out of your Centmin Mod LEMP stack
Become a Member

SSL intermediate.crt root.pem missing?

Discussion in 'Domains, DNS, Email & SSL Certificates' started by pamamolf, Oct 15, 2014.

  1. eva2000

    eva2000 Administrator Staff Member

    54,337
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    7:48 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    you're missing http to https redirect in
    Code:
    server {
      server_name ihostexperts.com www.ihostexperts.com;
    
    }
    should be like
    Code:
    server {
      server_name ihostexperts.com www.ihostexperts.com;
      return 301 https://$server_name$request_uri;
    }
    that's why this works
    Code:
    https://ihostexperts.com/
    but not non-https
    Code:
    http://ihostexperts.com/


     
  2. pamamolf

    pamamolf Premium Member Premium Member

    4,077
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    11:48 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Great but if this needed why is not added by default as i didn't remove it?(latest beta 0.8 and adding from menu option 2 my domain)

    And one last question as the above working great now with the none www if i want to use always the www how can i adjust my configs?

    Thanks !!!
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,337
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    7:48 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    it's specified and outlined in official guide at Nginx HTTPS / SSL Google SPDY configuration you must of left it out :) There's no auto adding for menu option 2 for SSL.. it's all manual replacement as per outline at Nginx HTTPS / SSL Google SPDY configuration

    for www just change it

    Code:
    server {
      server_name ihostexperts.com www.ihostexperts.com;
      return 301 https://www.ihostexperts.com$request_uri;
    }
    and ensure www.ihostexperts.com is listed in server_name for SPDY SSL server context
     
  4. pamamolf

    pamamolf Premium Member Premium Member

    4,077
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    11:48 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    It seems that i must start reading and not make stupid questions :)

    Thanks George :)
     
  5. rdan

    rdan Well-Known Member

    5,444
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    5:48 PM
    Mainline
    10.2
  6. pamamolf

    pamamolf Premium Member Premium Member

    4,077
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    11:48 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Reading in general all tutorials of Centminmod as i love it :)

    Now i am in state to use Postfix with Roundcube for reading mails using the browser but i am not so sure if i need Dovecot also for that or not ....?