ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 294 - CAS-004 discussion

Report
Export

An engineering team has deployed a new VPN service that requires client certificates to be used in order to successfully connect. On iOS devices, however, the following error occurs after importing the .p12 certificate file:

mbedTLS: ca certificate undefined

Which of the following is the root cause of this issue?

A.
iOS devices have an empty root certificate chain by default.
Answers
A.
iOS devices have an empty root certificate chain by default.
B.
OpenSSL is not configured to support PKCS#12 certificate files.
Answers
B.
OpenSSL is not configured to support PKCS#12 certificate files.
C.
The VPN client configuration is missing the CA private key.
Answers
C.
The VPN client configuration is missing the CA private key.
D.
The iOS keychain imported only the client public and private keys.
Answers
D.
The iOS keychain imported only the client public and private keys.
Suggested answer: D

Explanation:

The root cause of this issue is that the iOS keychain imported only the client public and private keys, but not the CA certificate. A PKCS#12 file (.p12 or .pfx) is a file format that contains a certificate and its private key, optionally protected by a password. A PKCS#12 file can also contain intermediate certificates or root certificates that are needed to verify the certificate chain. However, when importing a PKCS#12 file into the iOS keychain, only the certificate and its private key are imported, not the CA certificate. This means that the iOS device cannot verify the authenticity of the certificate, and displays the error message ''mbedTLS: ca certificate undefined''. To fix this issue, the CA certificate needs to be imported separately into the iOS keychain, either manually or using a configuration profile. Verified

Reference:

https://developer.apple.com/documentation/devicemanagement/certificatepkcs12

https://support.apple.com/guide/deployment/distribute-certificates-depcdc9a6a3f/web

https://openvpn.net/faq/how-do-i-use-a-client-certificate-and-private-key-from-the-ios-keychain/

asked 02/10/2024
Abbas Maleki
24 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first