exam questions

Exam CAS-004 All Questions

View all questions & answers for the CAS-004 exam

Exam CAS-004 topic 1 question 277 discussion

Actual exam question from CompTIA's CAS-004
Question #: 277
Topic #: 1
[All CAS-004 Questions]

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 is undefined

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

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

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ewbafoow
Highly Voted 1 year, 7 months ago
Selected Answer: D
Using the iOS keychain to store your private key has the added security advantage of leveraging on the hardware-backed keystores that exist on many iOS devices, allowing the key to be protected by the iOS-level device password, and preventing key compromise even if the device is rooted. If you already have your client certificate and private key bundled into a PKCS#12 file (extension .p12 or .pfx), you can import it into the app private section of the iOS Keychain using Mail, Safari or iTunes. Note sure that the file extension has to be changed to .ovpn12 for the file to be picked up by the OpenVPN Connect App (and not by iOS). Note that on iOS, when you import a PKCS#12 file into the Keychain, only the client certificate and private key are imported. The CA (certificate authority) certificates are NOT imported (unless you manually extract the CA certificates and import them separately, one-at-a-time). Therefore, the CA list must be given in the profile using the ca directive. If you already have a PKCS#12 file, the CA list may be extracted from the file using this openssl command, where the CA certs in client.p12 are written to ca.crt:
upvoted 6 times
...
23169fd
Most Recent 6 months ago
Selected Answer: A
Certificate Chain: When connecting to a VPN service that requires client certificates, iOS devices need to have the complete certificate chain, including the Certificate Authority (CA) certificate, in order to verify the authenticity of the server's certificate during the TLS handshake. PKCS#12 File (PFX): A .p12 file (or PFX format) typically contains both the client certificate and its associated private key, and optionally the CA certificate chain. D. The iOS keychain imported only the client public and private keys: While this could cause a different set of errors related to missing keys, it does not directly address the "ca certificate is undefined" error, which specifically relates to the CA certificate chain.
upvoted 3 times
deeden
1 month ago
The statement "iOS devices have an empty root certificate chain by default" is false - not by default. iOS devices come with a pre-installed list of trusted root certificates from various certificate authorities (CAs) that are maintained and updated by Apple.
upvoted 1 times
...
...
isaphiltrick
6 months, 1 week ago
Selected Answer: A
The error "mbedTLS: ca certificate is undefined" on iOS devices when using a VPN service with client certificates points to the absence of CA certificates in the iOS Certificate Trust Store. To resolve this issue, ensure that the .p12 certificate file imported into the iOS device includes the necessary CA certificates along with the client's certificate and private key, or manually install the CA certificates into the iOS device's trusted root store. This will allow the device to verify the authenticity of the VPN server during the connection establishment process.
upvoted 1 times
...
surfuganda
9 months, 1 week ago
Selected Answer: A
QUESTION STATES: Which of the following is the root cause of this issue? While A and D are both independently true statements: option A explains why the error occurred [root cause] option D explains potential recent contribution, but A is already true
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago