idank / explainshell

match command-line arguments to their help text
GNU General Public License v3.0
12.98k stars 778 forks source link

Expired certificate? #287

Closed indigoblueraspberry closed 2 years ago

indigoblueraspberry commented 2 years ago

When visiting the website https://www.explainshell.com, now it displays that "explainshell.com certificate name does not match input" when inspecting the certificate.

idank commented 2 years ago

I'm not getting that here. Can you attach a screenshot?

stoivo commented 2 years ago

It seam like the certificate is only not for www.explainshell.com but only explainshell.com. Screenshot 2021-10-01 at 23 36 18

Also The 30th of oktober an old root lets encript key expired and the "new" root lets encript key is in OpenSSL 1.1.0 (over 4 years old). https://github.com/mperham/sidekiq/issues/5008 If you are running an old system that could also be an issue

indigoblueraspberry commented 2 years ago

Here is the certificate.

cert
idank commented 2 years ago

It's an old system with a recently updated certbot. The dns is configured with a cname entry from www.explainshell.com to explainshell.com. So I'm not what broke really :|.

alerque commented 2 years ago

This doesn't seem to be an issue any more, in my testing the current certificate is good to go. I suggest this issue can be closed unless there is anybody with a current problem.

idank commented 2 years ago

Thanks for confirming @alerque.

indigoblueraspberry commented 2 years ago

I tried once more in another computer and the problem is still present.

cert
alerque commented 2 years ago

My mistake, @indigoblueraspberry is correct the certificate does not have the subdomain. My testing was flawed because an extension was trying and finding the bare domain and preferring that even when I typed in the www subdomain on initial connection.

The certificate is not expired, it is just registered for the bare domain without the optional www subdomain.

idank commented 2 years ago

I tried changing some configs, can you try again?

indigoblueraspberry commented 2 years ago

According to my testing, now it works as expected. Thank you @idank!