How to renew domain certificate on Ubuntu 20.04 (LTS) x64

Hello, I tried to renew my expired SSL certificate on and but still showing the old expired certificate. What to do next after creating the certificate below? I already tried the answers from this forum but did not succeed. Seems my old certificate is located here /etc/ssl/certs is that true? The operating system is Ubuntu 20.04 (LTS) x64 Please help.

Found the following certs: Certificate Name: Domains: Expiry Date: 2022-10-03 01:16:30+00:00 (VALID: 88 days) Certificate Path: /etc/letsencrypt/live/ Private Key Path: /etc/letsencrypt/live/ Certificate Name: Domains: Expiry Date: 2022-10-03 01:16:53+00:00 (VALID: 88 days) Certificate Path: /etc/letsencrypt/live/ Private Key Path: /etc/letsencrypt/live/

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @hayatuntour,

You are correct the certificates are found here:

  1. /etc/letsencrypt/live/
  2. /etc/letsencrypt/live/


  1. /etc/letsencrypt/live/
  2. /etc/letsencrypt/live/

You need to add the new full chain and private key for both domain to the corresponding files. Once you do, restart Nginx or Apache, depending on what you are using and you should be good to go.