Hi
I have setup a Ubuntu Instance on Google Cloud Platform. My LAMP stack is configured and running. Multiple non-SSL vhosts are configured and operate without any problem.
I have three domains that I am trying to configure into four vhosts to be utilized within a single Wordpress MU installations. The hostnames are as follows:
wpmu.aldisa.ca – this is the primary WP MU website
aldisa.ca – a subdomain
myinvestorvisa.com – a subdomain
wynn.ae – a subdomain
I initially had Certbot issue three separate certificates as follows:
aldisa.ca, www.aldisa.ca, wpmu.aldisa.ca
myinvestorvisa.com, www.myinvestorvisa.com
wynn.ae, www.wynn.ae
I was able to use manual verification to issue the certificates as these website are currently running at a different hosting provider and I am trying migrate them to the GCP.
I have separate initially setup three separate .conf files for each domain group using the base domain for ServerName and the other domain(s) as ServerAliases. All the three virtual hosts point to the same root directory since they will be served from a single WP MU installation.
When I tried to restart the server, it fails, and the Apache Error Log contains the following:
[Fri Nov 17 06:36:20.168301 2017] [ssl:emerg] [pid 19821] AH02572: Failed to configure at least one certificate and key for aldisa.ca:443
[Fri Nov 17 06:36:20.168373 2017] [ssl:emerg] [pid 19821] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
[Fri Nov 17 06:36:20.168377 2017] [ssl:emerg] [pid 19821] AH02312: Fatal error initialising mod_ssl, exiting.
AH00016: Configuration Failed
I saw that the error is reference the bare aldisa.ca domain. So I revoked and deleted the single aldisa.ca certificate which also contained both www.aldisa.ca and wpmu.aldisa.ca subdomains. I issued a new certificate for just wpmu.aldisa.ca, and I revised the virtual host configuration so that it now only contains wpmu.aldisa.ca and change the SSL file references to the new path. Strangely, I am getting the same error message for aldisa.ca. This domain is not reference in any of the virtual host conf files. If I disable the wpmu.aldisa.ca virtual host, then apache restarts with no errors with the other two SSL domains/certificates active.
I have tried many different things to figure this out, but have reached a deadend. Please help – let me know what debug logs or info would be helpful to post if my description is vague in any way.
Thanks in advance for your help.