Amazon Linux 2 wordpress multise

Requesting help again.

Configuration:
Amazon AWS EC2 Linux 2
DNS Route53 (name.example.com added as CNAME, as well as www.example.com)
Wordpress multisite with sub-domains

I issued a certificate with wildcard “example.com” “*.example.com”, then I added pem files path into /etc/https/conf.d/ssl.conf with the next lines:
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
SSLCertificateFile /etc/letsencrypt/live/example.com/fullchain.pem

at this point, wordpress works fine (https is secure), then I added multisite functionality following wordpress guidelines and setup new site called: “name.example.com” which I have SSL error “SSL_ERROR_BAD_CERT_DOMAIN” in browser.

How I can ensure my cert is for *.example.com ? Do I miss something?

thanks a lot

I guess I find my problem, because certificate was issue with www instead *, my bad. (I will rectify).

PLEASE DELETE THIS POST. SORRY !!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.