nerdexam
CompTIA

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.

Submitted by weili_xi· Mar 4, 2026General security concepts

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)
  • A
    3% (1)
  • B
    13% (5)
  • C
    8% (3)
  • D
    76% (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.

ARC4

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.

BMD5

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.

CHMAC

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.

DSHACorrect

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

#x.509 certificates#SHA hashing#PKI#certificate signing

Community Discussion

No community discussion yet for this question.

Full SY0-501 Practice