Unable to import PKCS#12 into OpenVPN

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
AlbertNebunu
OpenVpn Newbie
Posts: 1
Joined: Mon Mar 11, 2024 8:04 pm

Unable to import PKCS#12 into OpenVPN

Post by AlbertNebunu » Mon Mar 11, 2024 8:10 pm

Hello everyone,

I am trying to import OpenVPN certs and key from Keychain however, after importing the file into openvpn via Certificates & Token-> Add Certificates nothing happens after selecting the .p12 file.

I created the file using

Code: Select all

openssl pkcs12 -export -in cert -inkey key -certfile ca -name MyClient -out client.p12
and successfully importing it in keychain. However, I can't import it in OpenVPN.

OpenVPN version: 3.4.9 (4830)
Macbook M1
OS: Sonoma 13.4.1

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

Re: Unable to import PKCS#12 into OpenVPN

Post by openvpn_inc » Mon Mar 11, 2024 10:11 pm

Hello,

Try this:

Launch OpenVPN Connect.

+ Click or tap the Edit icon for the desired profile.
+ Under Certificate and Key, click or tap Assign.

Note: If the Certificate and Key don't display, your connection profile already includes the certificate and key. Your profile should not contain <cert> and <key>.

+ Click or tap PKCS #12
+ Choose the certificate and key for connection with the profile.
+ Click or tap Confirm.
+ Save the profile configuration
+ Click or tap the profile toggle to connect


Best Regards,

DynamoX
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