I installed certbot-auto on CENTOS 6 with apache succesfully.
I ran certbot-auto for a virtual host referring to two domains.
Certbot issued one warning “we were unable to set up enhancement redirect for your server, however, we successfully installed your certificate”. Indeed, http does not redirect. But that’s not the issue here.
The real problem is that SSL / https fails:
The test result …
"Certificate name mismatch"
and my browser says …
“Your connection is not secure”.
And this is in the vhost configuration file (that worked perfect with http):
ServerAlias *.bed-and-breakfast-amersfoort.nl *.ketelaarsbrug.nl
The certificates are stored under …/www.ketelaarsbrug.nl/…
What is the problem?
If I specified the wrong domain names with certbot, what should I have specified?
If my vhost configuration is the trouble, what should be in the conf file?
What can I do to fix this?
And … sorry for my ignorance. I have been reading all kinds of documents the last two weeks to get this working smoothly, and nevertheless I failed
Thanks a lot for your help!!