Report this

What is the reason for this report?

openvpn server.crt has expired

Posted on January 25, 2026

I have a server OPENVPN on Ubuntu 18 installed as your guide and my server.crt is now expired can you help me to renove it…? thanks



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!

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.

Hi there,

First, I would recommend confirming what actually expired, because OpenVPN setups often hit either the server cert or the CRL:

  • Check server cert expiry: openssl x509 -in /etc/openvpn/server.crt -noout -dates

  • Check CRL expiry (if you use crl-verify in the config): openssl crl -in /etc/openvpn/crl.pem -noout -nextupdate

If it is the server certificate, you generally need to issue a new server cert from the same CA. Depending on your Easy-RSA version, that is either a renew command (if supported) or re-issuing a fresh server.crt and server.key, then restarting OpenVPN.

If the CA itself is expired, you are usually looking at reissuing server and client certs.

Check out the DigitalOcean guide for the Ubuntu 18.04 setup: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-18-04

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.