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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.