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

SSL https not working

Discussion in 'Domains, DNS, Email & SSL Certificates' started by Umit, Dec 2, 2017.

  1. Umit

    Umit New Member

    13
    3
    3
    Nov 15, 2016
    Ratings:
    +3
    Local Time:
    11:13 AM
    Hi guys,

    I am migrating my websites to Linode and i installed centmin-mod.

    just after the initial install, i created a vhost with ssl option enabled
    i successfully uploaded the files and the website working fine but https is not

    i changed the newdomain.com.conf-disabled and edited the top {} of newdomain.com.ssl.conf.

    How can i check what i am missing?

    firefox warning:
    Owner:This website does not supply ownership information.
    Verified by: Not specified
     
    Last edited: Dec 2, 2017
  2. eva2000

    eva2000 Administrator Staff Member

    30,960
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,419
    Local Time:
    7:13 PM
    Nginx 1.13.x
    MariaDB 5.5
    you mean self-signed ssl or letsencrypt ssl outlined at https://centminmod.com/acmetool (below method 2 or 3) ?

    There's generally 3 ways of setting up HTTPS SSL certificate for Centmin Mod Nginx HTTP/2 based HTTPS

    Method 1. The traditional way via centmin.sh menu option 2, 22 and selecting yes to self-signed ssl certificates first. Then converting the self-signed ssl certificate to paid or free (Letsencrypt) web browser trusted SSL certificates outlined at How to switch self-signed SSL certificate to paid SSL certificate ? You would still need to follow the same steps outlined at Nginx SPDY SSL Configuration for obtaining and purchasing the paid SSL certificate and most important part is the concatenation of the SSL provider provided filesto create the mentioned /usr/local/nginx/conf/ssl/domaincom/ssl-unified.crt and /usr/local/nginx/conf/ssl/domaincom/ssl-trusted.crtfiles referenced in your Nginx SSL vhost config file.

    You may need to also decide if you want to enable HTTP to HTTPS redirect outlined at How to force redirect from HTTP:// to HTTPS:// ?

    If you didn't answer yes at time of initial nginx vhost creation to self-signed ssl certificates, you can manually setup the self-signed ssl certificate via the vhost generator by checking self-signed ssl box and enter a domain name. This will outline instructions for manually creating and setting up self-signed ssl certificate and nginx vhost settings. Then for web browser trusted ssl certificates you switch follow - How to switch self-signed SSL certificate to paid SSL certificate ?.

    Method 2. Using and testing Centmin Mod 123.09beta01's new addons/acmetool.sh addon which is still in beta testing only for integrating Letsencrypt SSL certificates. And has both auto and manual methods.

    Method 3. Fully manual method for free Letsencrypt SSL certificates.
    Note:
    • For wordpress auto installer, you actually need a read method 2 to enable LETSENCRYPT_DETECT='y' then run centmin.sh menu option 22 which will detect letsencrypt support and display the additional letsencrypt prompts required to issue free letsencrypt ssl certificates for wordpress auto installer
     
  3. Umit

    Umit New Member

    13
    3
    3
    Nov 15, 2016
    Ratings:
    +3
    Local Time:
    11:13 AM
    For self-seigned ssl, i don't know what i am doing wrong.. i am restarting the ngnx with ngxrestart but still not properly set ssl when visiting the website..
     
  4. Umit

    Umit New Member

    13
    3
    3
    Nov 15, 2016
    Ratings:
    +3
    Local Time:
    11:13 AM
    could be my dns settings something? i didnt do 3. setting in the Centmin menu. I just updated my website's ip address from the cloudflare dns settings.
     
  5. Umit

    Umit New Member

    13
    3
    3
    Nov 15, 2016
    Ratings:
    +3
    Local Time:
    11:13 AM
    ok... messed up big time.. deleted the node and trying from the beggining
     
  6. Umit

    Umit New Member

    13
    3
    3
    Nov 15, 2016
    Ratings:
    +3
    Local Time:
    11:13 AM
    installing the beta version of centminmod so that i can work with acmetool, in an home that i can install Letsencrypt..
     
  7. Umit

    Umit New Member

    13
    3
    3
    Nov 15, 2016
    Ratings:
    +3
    Local Time:
    11:13 AM
    wow! it worked!!!!! :ROFLMAO::ROFLMAO::ROFLMAO::ROFLMAO::ROFLMAO:
    Awesome!

    the thing is i still feel like a monkey that needs to land a big boing plane. :LOL:
     
  8. eva2000

    eva2000 Administrator Staff Member

    30,960
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,419
    Local Time:
    7:13 PM
    Nginx 1.13.x
    MariaDB 5.5
    well learning from mistakes are best way to learn and remember long term :)
     
    • Like Like x 1