SY0-501 · Question #299
When generating a request for a new x.509 certificate for securing a website, which of the following is the MOST appropriate hashing algorithm?
The correct answer is D. SHA. When generating an X.509 certificate signing request (CSR) for a website, SHA (Secure Hash Algorithm) is the appropriate hashing algorithm used to create a digital signature that ensures certificate integrity.
Question
When generating a request for a new x.509 certificate for securing a website, which of the following is the MOST appropriate hashing algorithm?
Options
- ARC4
- BMD5
- CHMAC
- DSHA
How the community answered
(38 responses)- A3% (1)
- B13% (5)
- C8% (3)
- D76% (29)
Why each option
When generating an X.509 certificate signing request (CSR) for a website, SHA (Secure Hash Algorithm) is the appropriate hashing algorithm used to create a digital signature that ensures certificate integrity.
RC4 is a symmetric stream cipher used for encryption, not a hashing algorithm, and has been deprecated due to serious cryptographic vulnerabilities making it entirely unsuitable for certificate generation.
MD5 is a hashing algorithm but has been cryptographically broken due to known collision attacks, and the CA/Browser Forum has prohibited its use in certificate signing since it can be exploited to forge certificates.
HMAC (Hash-based Message Authentication Code) is a message authentication mechanism that uses a shared secret key combined with a hash function, making it unsuitable for public-key certificate generation where asymmetric signing is required.
SHA (specifically modern variants like SHA-256 or SHA-384) is the industry-standard hashing algorithm used in X.509 certificate generation and TLS/SSL. It produces a cryptographic digest of the certificate data that is signed by the CA, and modern browsers and standards bodies (NIST, CA/Browser Forum) mandate SHA-2 family algorithms for certificate signatures due to their collision resistance and security strength.
Concept tested: Appropriate hashing algorithm selection for X.509 certificates
Source: https://learn.microsoft.com/en-us/windows/win32/seccertenroll/about-hashing-algorithms
Topics
Community Discussion
No community discussion yet for this question.