While SSL is functioning correctly on the main site of WordPress multisite, I am unable to see the wildcard SSL certificate being applied to subdomains. I installed SSL using certbot tool and did the following: sudo certbot certonly --manual --preferred-challenges=dns -d '*.domain.com'
Update Apache Configuration opt/bitnami/apache2/conf/bitnami/bitnami.conf with the following;
SSLEngine on
SSLCertificateFile "/etc/letsencrypt/live/domain.com-0001/fullchain.pem"
SSLCertificateKeyFile "/etc/letsencrypt/live/domain.com-0001/privkey.pem"
Restarted Apache: sudo /opt/bitnami/ctlscript.sh restart apache
Then it shows the server being down.
Apache error log
[Fri Apr 26 07:16:54.678833 2024] [ssl:warn] [pid 249621:tid 140417372171520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Fri Apr 26 07:16:54.694281 2024] [ssl:warn] [pid 249622:tid 140417372171520] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Apr 26 07:16:54.697018 2024] [ssl:warn] [pid 249622:tid 140417372171520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name