Request for helping to resolve the issue of website inaccessibility due to SSL certificate expiration

Hi,

I would like to request for helping to resolve the issue of website inaccessibility due to SSL certificate expiration. I can't access the website because the certificate of website domain has been expired two days ago. Is anyone can help solving this problem?

I've been running several Ghost website as a self-hosted server since 2018, but I'm running into a problem I've never experienced before. I don't even know why the certificate expired.

  • URL
    (removed)

  • Ghost version
    5.87.1

  • How was Ghost installed and configured?
    Installed following the official tutorial of Ghost: How to install & setup Ghost on Ubuntu 20.04 or 22.04

  • What Node version, database, OS & browser are you using?
    Nginx 1.18.0
    Node.js v18.20.4
    MySQL 8.0.37
    Ubuntu 20.04.6 LTS
    Chrome Desktop Web Browser versoin 126.0.6478.127

Can you also describe how you got your certs in the past? What program did you use? What command(s) did you try?

And, what are the errors or log messages you see about the renewal failure?

An HTTP request to your domain is replied to by an nginx 1.18 server. Does that seem right?

2 Likes

Hi MikeMcQ,

Thank you for your reply.

After struggling for several hours, I finally I solved the problem with Certbot to renew the SSL certificate manually.

Below is the answer for your helping hands:

  1. I just followed the official tutorial of Ghost install on Ubuntu article - How to install & setup Ghost on Ubuntu 20.04 or 22.04.

  2. When I tried to setup the SSL in the folder that installed the Ghost and Ghost-CLI with this command input: "ghost setup ssl", I got the output "SSL has already been set up, skipping".
    *I wanted to solve the problem of not being able to access a website due to an expired certificate that was not renewed.

  3. Yes, HTTP request to the domain is replied to by an Nginx 1.18 server.

Thank you for your message and will write the problem solving log soon.

Cheers,

1 Like

Hi guys,

I solved the problem with Certbot to renew the SSL certificate manually.

I would like to sharing for somebody who would have a problem similar to my case.

Looking back, I think I should have asked the question below:
Duto an expired SSL certificate, I cannot access to a website built with Ghost. What should I do to install a valid SSL certificate via Ghost-CLI on a server with an expired SSL certificate?


< Expired Let's Encrypt SSL certificate problem solving process >

I input the command as below in the Ubuntu server:

ghost stop
sudo apt install certbot
sudo certbot certificates
sudo systemctl restart nginx
ghost start

Now, the website can access well without having to worry about the existing configuration of Ghost, Nginx, MySQL, etc.

Thank you for Let's Encrypt team and Internet Security Research Group (ISRG) always.

Cheers,

2 Likes