Ssl view csr

ssl_view_csr

Display the decoded text of a certificate signing request (CSR). Verifies the CSR signature as part of the output.

Arguments

  • $1 (string): CSR file

Exit codes

  • 0: Success
  • 1: No input provided

Output on stdout

  • Decoded CSR text including subject, public key, and extensions

ssl_view_csr_modulus

Print the SHA-256 hash of the public key modulus from a CSR. Used to verify that a CSR and its corresponding key share the same modulus.

Arguments

  • $1 (string): CSR file

Exit codes

  • 0: Success
  • 1: No input provided

Output on stdout

  • SHA-256 hash of the modulus