Welcome to Centmin Mod Community
Register Now

SSL Installed wordpress without selfsigned SSL

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by radbrad, Oct 28, 2020.

Tags:
  1. radbrad

    radbrad Member

    31
    3
    8
    Feb 15, 2020
    Ratings:
    +4
    Local Time:
    11:42 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: i.e. CentOS 6 32bit or 64bit / CentOS 7 64bit ?
    • Centmin Mod Version Installed: i.e. 123.08stable or 123.09beta01
    • Nginx Version Installed: i.e. 1.15.3
    • PHP Version Installed: i.e. 5.6.37, 7.0.31, 7.1.21, 7.2.9
    • MariaDB MySQL Version Installed: i.e. 10.0.x or 10.1.xx or 10.2.xx
    • When was last time updated Centmin Mod code base ? : i.e. run centmin.sh menu option 23 submenu option 2 or cmupdate command
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc ? You can check via this command:
    I installed Wordpress via the 22 option and selected NO self signed SSL during installation.

    Now I want to install letsencrypt SSL to my domain, How can I do that? and one more thing is,

    My domain is showing the default centminmod page and the wp-admin page showing "Not found nginx" error

    How can i solve this?

    Thanks.
     
  2. radbrad

    radbrad Member

    31
    3
    8
    Feb 15, 2020
    Ratings:
    +4
    Local Time:
    11:42 PM
    I have fixed it..
     
  3. eva2000

    eva2000 Administrator Staff Member

    45,662
    10,360
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,079
    Local Time:
    4:12 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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 but ensuring you set LETSENCRYPT_DETECT='y' in persistent config file created at /etc/centminmod/custom_config.inc before you run centmin.sh menu option 2 or 22 for wordpress. You can do that using command below - only need to do this step once and every subsequent run of centmin.sh menu option 2 or 22 will have letsencrypt ssl certificate support enabled
    Code (Text):
    # enable letsencrypt ssl certificate integration https://centminmod.com/acmetool/
    touch /etc/centminmod/custom_config.inc
    echo "LETSENCRYPT_DETECT='y'" >> /etc/centminmod/custom_config.inc
    


    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.