Install SSL on hostname Print

  • 0

Login to CentOS panel
Under "Apache Settings", Click on "Letsencrypt Manager"
Go to "Custom Install of Letsencrypt".
Under domain name column, give hostname.
Path : /usr/local/apache/htdocs/
Click on "Install Custom Certificate"

Login to server viaa ssh as root.
Take backup of /usr/local/cwpsrv/conf.d/cwp-ssl.conf
cp -ar /usr/local/cwpsrv/conf.d/cwp-ssl.conf /usr/local/cwpsrv/conf.d/cwp-ssl.conf_bak7

vi /usr/local/cwpsrv/conf.d/cwp-ssl.conf

SSLCertificateFile /etc/letsencrypt/live/server.domain.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/server.domain.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/server.domain.com/fullchain.pem

# SSLCertificateKeyFile /etc/pki/tls/private/server.domain.com.key
# SSLCertificateFile /etc/pki/tls/certs/server.domain.com.crt


Was this answer helpful?

« Back

Powered by WHMCompleteSolution