3

I've 2 certificates, one for user authentication and another for machine authentication.

My user authentication includes certificate and private key based on which I've generated pkcs12 file using the following command:

openssl pkcs12 -export -clcerts -inkey private.key -in certificate.crt -out MyPKCS12.p12 -name "Your Name"

as suggested here: How can I add a private key to my keychain?

So User Authentication certificate loads fine in VPN configuration, but the problem is when I'm trying to select Machine Authentication. OSX can't find any suitable certificates, even I've imported it into Keychain (ca.crt).

The error says:

No machine certificates found
Certificate authentication cannot be used because your keychain does not contain any suitable certificates. Use Keychain Access to import the appropriate certificates into your keychain. If you do not have the certificates required for authentication, contact your network administrator.

How do I load my machine authentication certificate, so can be recognised by Keychain when configuring VPN (ca.crt & tls-auth ta.key)?

Related:

https://stackoverflow.com/questions/5401088/key-chain-warning-the-system-roots-keychain-cannot-be-modified

0

Not sure if it's possible using standard network settings, but you can configure VPN this way on OSX by using 3rd party software (e.g. Viscosity).

0

I believe you need to add your certificate to the System keychain in order to get it to show up in the VPN certificate list. Adding a machine certificate to the login keychain will not allow it to show up in the VPN certificate list.

Note: The "System" keychain should not be confused with the "System Roots" keychain.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .