I have a wildcard SSL cert from Let's Encrypt, the installation has worked and when accessing a sub-domain the cert loads properly. However the virtual site (Apache) that has no subdomain produces an error:
[Wed Jun 28 15:21:18.823772 2023] [ssl:warn] [pid 3713433:tid 140282501949760] AH01909: abc.net:443:0 server certificate does NOT include an ID which matches the server name
Note this variation of the domain is also the hostname of the server, I don't know if that is causing a problem? In the browser no cert seems to load, at least there is no mention of Let's Encrypt or any other expected details.
The cert was created with the following command:
certbot certonly --server https://acme-v02.api.letsencrypt.org/directory --manual --preferred-challenges dns -d 'abc.net, *.abc.net'
When viewing the cert on the sub-domain indeed both domains with and without a subdomain are showing in the details, so it has been registered properly.
The virual site entries for both sites are identical except for the DocumentRoot and ServerName which are both correct.
At a bit of a loss as what to try now.