Update from an old version

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
Tyvain
OpenVpn Newbie
Posts: 1
Joined: Mon Sep 13, 2021 9:17 pm

Update from an old version

Post by Tyvain » Mon Sep 13, 2021 9:25 pm

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 ?

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: Update from an old version

Post by openvpn_inc » Mon Sep 13, 2021 10:44 pm

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
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply