Page 1 of 1

Unable to import PKCS#12 into OpenVPN

Posted: Mon Mar 11, 2024 8:10 pm
by AlbertNebunu
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

Re: Unable to import PKCS#12 into OpenVPN

Posted: Mon Mar 11, 2024 10:11 pm
by openvpn_inc
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