Page 1 of 1

Update from an old version

Posted: Mon Sep 13, 2021 9:25 pm
by Tyvain
Hello,

I have a very old ovpn version from wich I retrieve 3 files : something-tls.key, something-config.ovpn, something.p12

Now I have installed the new version V3, I add the ovpn file, then the p12 file as certificate.

But the connection doesn't work: CA not defined.

What did I miss here ?
Should I use the tls.key file somewhere ?

Re: Update from an old version

Posted: Mon Sep 13, 2021 10:44 pm
by openvpn_inc
Hello Tyvain,

Without knowing the contents of these files it's very difficult to point out the problem. A stab in the dark here would be that perhaps the CA for verifying the identity of the server is embedded in this p12 file, but the client program is assuming the p12 only contains client private/public keys. You may want to check where the CA certificate is and perhaps move it into the .ovpn file as inline CA certificate.

And yes the something-tls.key is not optional, you really need it. It may be referenced from the .ovpn file but I don't know. Again it might be better to move that key into the .ovpn file as inline TLS Auth key.

Without knowing more it is hard to solve this issue. These configuration files are typically open source server configurations. Some adjustments may be needed to get it to work.

Kind regards,
Johan