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

SSL i use Paid-SSL (Comodo-Possitive) for maindomain.com - can i use Self-Signed SSL for sub.domain.com

Discussion in 'Domains, DNS, Email & SSL Certificates' started by vip991988, Jul 21, 2019.

  1. vip991988

    vip991988 New Member

    9
    0
    1
    Nov 19, 2015
    Ratings:
    +0
    Local Time:
    12:20 AM
    1.9
    10
    as title ,

    i use Paid-SSL (Comodo-Possitive) for maindomain.com - can i use Self-Signed SSL for sub.domain.com ?

    Thanks for support !!!

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,907
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    3:20 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Centmin Mod 123.09beta01 and newer can just issue web browser trusted Letsencrypt SSL certificates for your domain and subdomain sites

    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.
     
  3. vip991988

    vip991988 New Member

    9
    0
    1
    Nov 19, 2015
    Ratings:
    +0
    Local Time:
    12:20 AM
    1.9
    10
    Thank you so much !!!
    i done with method 2.
    i checked my crontab
    it show :
    "
    0 */4 * * * /usr/bin/cminfo_updater
    13 23 * * * /usr/local/src/centminmod/tools/autoprotect.sh >/dev/null 2>&1
    18 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
    "
    Is it auto renew SSL ? ( Let's Encrypt )