Changed site directory, browser shows invalid cert now

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.

My domain is: cletrailraces.com

I ran this command:

It produced this output:

My web server is (include version): apache 2.4.18

The operating system my web server runs on is (include version): Ubuntu 16.0.4

My hosting provider, if applicable, is: 1and1.com

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): no

I changed the directory of this site to a new one, and now the browser gives me a security warning when I visit it, even though it still lists it as a valid certificate.

Hi,

What did you use to obtained this certificate?

Thank you

The certificate only covers the one name - not the WWW:

So be sure NOT to type nor forward/redirect to: https://www.cletrailraces.com/ as that name will NOT match.
Even though DNS does resolve both names to the same IP, the cert name has to match the requested URL.

HTTP status code 301
HTTP forwarding https://www.cletrailraces.com
HTTP server signature Apache/2.4.18 (Ubuntu)

OR OR OR
You could just add the www name to the cert - and use both names.
Which goes back to @stevenzhu question:

From that we can figure out how to get a cert with both names on it.

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