A security architect wants to ensure a remote host's identity and decides that pinning the X.509 certificate to the device is the most effective solution. Which of the following must happen first?
A.
Use Distinguished Encoding Rules (DER) for the certificate.
B.
Extract the private key from the certificate.
C.
Use an out-of-band method to obtain the certificate.
D.
Compare the retrieved certificate with the embedded certificate.
❌ Why the others are incorrect:
A. Use Distinguished Encoding Rules (DER)
DER is a binary format for encoding certificates, but it's not a required first step and doesn't ensure trust by itself.
B. Extract the private key from the certificate
This is not only unnecessary but also a serious security violation. The private key should never be extracted or shared.
D. Compare the retrieved certificate with the embedded certificate
This is the verification step, which happens after pinning — not before.
✅ C. Use an out-of-band method to obtain the certificate.
🔐 Explanation:
Certificate pinning is a security technique used to associate a host (e.g., a server) with its expected X.509 certificate or public key. This helps prevent man-in-the-middle (MitM) attacks where an attacker could present a fraudulent certificate.
Before you can "pin" a certificate (i.e., embed or store a known-good certificate or public key in the app or system):
You first need to obtain the correct certificate securely, usually via an out-of-band method (i.e., not over the same channel that could be compromised).
Once you have the authentic certificate, you can pin it, and then compare it at runtime against what is presented by the host.
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.CAS-005 Exam Questions
Log in to ExamTopics
Sign in:
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.
vicbersong
1 week, 1 day agovicbersong
1 week, 1 day ago