Ca and Server certificate expiring soon
-
Good morning to all!
I have a trouble with the OpenVPN software installed on a pfSense firewall, in particular i have an issue with the certificate.
The CA and Server certificate will expire in a few days and my VPN (5 networks) is used by about 50 people.
I have try to reissue the CA and then the Certificate but all vpn client can't connect after this operation, to fix it I have restored a backup done before the reissue.
But now I'm at the starting point. Anyone have any suggestion to avoid updating 50 clients one by one?
Thanks to all!!
Andrew -
If you click, the existing certificate - in this the CA used by by OpenVPN server, will get renewed.
NOT GREAT.
The very first OpenVPN server restart will use the new CA ..... and thus it will invalidate all connections, as the OpenVPN client info need to be updates for all OpenVPN clients before the can continue.And I didn't even look (thinking !) about every certificate for every user ..... which should also be renewed as now based upon the new CA.
I guess I would build a new OpenVPN server, create all the new certs CA and Certificates for everybody, do some testing, and all the ovpn files away - and on D-Day I would stop the old server, move the new server to the old port - and wait for the phone to ring as with 50 ++ users teher are always be some one who doesn't look his mails (with the new opvn file and you very details constitutions etc)
Btw : I'm just thinking out loud here, I never had to renew what so ever myself. I'm still good for 2 years or so as my original OpenVPN CA was good for 10 years.
-
If you care less about security and more about making the transition easier, you can check the box on the CA renewal to reuse the serial number.
The clients should still see it as valid since the serial is the same even though the dates are different. You may still need to eventually copy the new CA over to each client or they may be seeing their local copy as expired, too.
https://docs.netgate.com/pfsense/en/latest/certificates/renew.html#renew-or-reissue-options
-
@jimp I tried but unfortunately it didn't work, because the User Certificate that I use for export the OpenVPN Client have the same CA that the server certificate (I think).
The final solution was to reinstall all OpenVPN clients on all devices, hard work but at least all users continue to work!
Thanks for the support