I can do this:
Reset all SSL certificates to factory default:
rm /home/e-smith/ssl.crt/*
rm /home/e-smith/ssl.key/*
rm /home/e-smith/ssl.pem/*
signal-event post-upgrade
signal-event reboot
Configure SSL certificate:
rm /home/e-smith/ssl.crt/*
rm /home/e-smith/ssl.key/*
rm /home/e-smith/ssl.pem/*
cp server.domain_com.crt /home/e-smith/ssl.crt/
cp server.domain_com.ca-bundle /home/e-smith/ssl.crt/
cp server.domain_com.key /home/e-smith/ssl.key/
Update SSL config:
config setprop modSSL crt /home/e-smith/ssl.crt/server.domain_com.crt
config setprop modSSL CertificateChainFile /home/e-smith/ssl.crt/server.domain_com.ca-bundle
config setprop modSSL key /home/e-smith/ssl.key/server.domain_com.key
Test SSL config:
config show modSSL
modSSL=service
CertificateChainFile=/home/e-smith/ssl.crt/server.domain_com.ca-bundle
TCPPort=443
access=public
crt=/home/e-smith/ssl.crt/server.domain_com.crt
key=/home/e-smith/ssl.key/server.domain_com.key
status=enabled
Apply changes:
signal-event post-upgrade
signal-event reboot
I host multiple domains on SME server 9. I love email pseudonyms, mapping domains to ibays, user quotas for email, etc. I prefer Roundcube for simple email functionality.
The problem is that I typically purchase only 1 SSL certificate per domain. I just now learned that SME server does not really support multiple SSL certificates on a single server.
Not sure where to go from here. The additional SSL certificates are only used for Wordpress websites using HTTPS instead of HTTP.
For a list of available certs:
https://www.namecheap.com/security/ssl-certificates/domain-validation.aspxI guess I need to migrate from PositiveSSL to PositiveSSL Multi-Domain ?