PKI Certificate Tutorials - Herong's Tutorial Examples - v1.12, by Herong Yang
OpenSSL - Cryptography Toolkit
This chapter provides a quick introduction of OpenSSL cryptography toolkit. Topics include what is OpenSSL; installing OpenSSL CLI on CentOS; generating private/public key pairs, CSRs (Certificate Signing Requests), and self-signed certificates; signing CSRs into certificates as a CA (Certificate Authority).
"openssl genpkey" - Generate Private Key
"openssl genpkey -algorithm RSA" - RSA Private Key
"openssl genpkey -algorithm EC" - EC Private Key
"openssl req" - CSR (Certificate Signing Request)
"openssl req -new" - Generate CSR from Key
"openssl req -newkey ..." - Generate Key and CSR
"openssl req -x509" - Generate Self-Signed Certificate
Takeaways:
Table of Contents
Introduction of PKI (Public Key Infrastructure)
Introduction of PKI Certificate
►OpenSSL - Cryptography Toolkit
"openssl ca" - CA (Certificate Authority) Tool
Java "keytool" Commands and KeyStore Files
PKCS12 Certificate Bundle File