Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
It produced this output: Your connection is not private Attackers might be trying to steal your information from www.favabam.blogspot.com NET::ERR_CERT_COMMON_NAME_INVALID
My web server is (include version): Apache2
The operating system my web server runs on is (include version): Ubuntu 20.04
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 1.0.9
The certificate is not trusted in all web browsers. You may need to install an Intermediate/chain certificate to link it to a trusted root certificate. Learn more about this error. The fastest way to fix this problem is to contact your SSL provider.
None of the common names in the certificate match the name that was entered (sonvpn.myddns.rocks). You may receive an error when accessing this site in a web browser.
I created the certificate without seeing any errors in all the steps.
But when I verified it I got the following messages
The certificate is not trusted in all web browsers. You may need to install an Intermediate/chain certificate to link it to a trusted root certificate. Learn more about this error. The fastest way to fix this problem is to contact your SSL provider.
None of the common names in the certificate match the name that was entered (sonvpn.myddns.rocks). You may receive an error when accessing this site in a web browser.
Checking your www version raw, there is a very slow answer, http and https. But there is no default vHost and there is no www version defined. So a no-answer (timeout) would be expected checking the www version.
You have ipv4 and ipv6. First works, second has a timeout. And there is a
E=admin@localhost.com, CN=*.device2031136.wd2go.com, OU=Branded Products, O=Western Digital, L=Mountain View, S=California, C=US
24.01.2015
24.01.2025
expires in 1523 days
certificate.
May be there is another Apache that answers.
What's the content of your 443 vHost? Is this device2031136.wd2go.com your router?
The content:
Forbidden
You don't have permission to access /UI on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Obtaining a cert and using a cert are not the same thing.
The site I reviewed had no www cert.
Right now the site is unreachable, so the OP may be making changes.
Thank you JuergenAuer for helping me to resolve the problem that I was stuck for 2 days.
There was a routing problem on my network. The result from https://check-your-website.server-daten.de/?q=sonvpn.myddns.rocks helped me to realize that the WD NAS, which I enabled for remote management many years ago, was the culprit. Once I disabled it, everything works fine now. The IPv6 address still has unreachable but as long as IPv4 works, it should be okay.
Thank you everyone else to jump in and help. You guys are great.
That's not entirely true, unless I don't understand you very well. Apache will default to the first <VirtualHost> section if it doesn't find a hostname from SNI in a ServerName or ServerAlias directive. You can't have "no default vhost", as the first <VirtualHost> block will automatically be the default.
I think @Osiris is correct, even via http(s)://IP/ Apache will always return the first match, or _default_, or first similar config [http(s) will be assumed as the _default_ when none is explicitly defined].
It will always return something, so even when querying a name that doesn't exist there will be an answer.
Indeed, even without SNI it will just answer with the default vhost, whether that is an actually set-as-default vhost (such as with _default_ indeed) or just "the first vhost Apache encounters in the configuration file(s)".