OpenSSL PKCS10 CSR Utilities: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
(Created page with "== PKCS10 (CSR) Information == * Extension(s) .csr, .pem, .p10 * PKCS #10 (PKCS10) is the most common Certificate Signing Request (CSR) format. The term CSR often implies PKCS...")
 
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
== PKCS10 Commands ==
== PKCS10 Commands ==
# View the contents of a PKCS10 (CSR) PEM-formatted file.
# View the contents of a PKCS10 (CSR) PEM-formatted file.
## <tt>'''# openssl req -noout -text -in <certificate>.csr'''</tt>
#: <tt>'''# openssl req -noout -text -in <certificate>.csr'''</tt>
# Generate a new PKCS10 (CSR) PEM-formatted file.  
# Generate a new PKCS10 (CSR) PEM-formatted file.  
## <tt>'''# openssl req -new -key <keyfile>.key -out <certificate>.csr'''</tt>
#: <tt>'''# openssl req -new -key <keyfile>.key -out <certificate>.csr'''</tt>


== Further Reading ==
== Further Reading ==
# [http://fileformats.archiveteam.org/wiki/PKCS10 PKCS10 Certificate Signing Request]
# [http://fileformats.archiveteam.org/wiki/PKCS10 PKCS10 Certificate Signing Request]
# [https://www.openssl.org/docs/manmaster/apps/req.html OpenSSL CSR]
# [https://www.openssl.org/docs/manmaster/apps/req.html OpenSSL CSR]


[[Category:Software]]
[[Category:Software]]
[[Category:SSL]]
[[Category:SSL]]

Latest revision as of 21:13, 13 December 2017

PKCS10 (CSR) Information

  • Extension(s) .csr, .pem, .p10
  • PKCS #10 (PKCS10) is the most common Certificate Signing Request (CSR) format. The term CSR often implies PKCS10 format, though other CSR formats exist.
  • A PEM-encoded PKCS10 file is plain text, with base64-encoded payload data. It contains a line that reads "-----BEGIN CERTIFICATE REQUEST-----" or "-----BEGIN NEW CERTIFICATE REQUEST-----".

PKCS10 Commands

  1. View the contents of a PKCS10 (CSR) PEM-formatted file.
    # openssl req -noout -text -in <certificate>.csr
  2. Generate a new PKCS10 (CSR) PEM-formatted file.
    # openssl req -new -key <keyfile>.key -out <certificate>.csr

Further Reading

  1. PKCS10 Certificate Signing Request
  2. OpenSSL CSR