SSL/TLS Certificates
Self-Signed Certificates
Generate CA
openssl genrsa -aes256 -out ca-key.pem 4096openssl req -new -x509 -sha256 -days 3650 -key ca-key.pem -out ca.pemOptional Stage: View Certificate's Content
openssl x509 -in ca.pem -text
openssl x509 -in ca.pem -purpose -noout -textGenerate Certificate
openssl genrsa -out cert-key.pem 4096openssl req -new -sha256 -subj "/CN=exploit.se" -key cert-key.pem -out cert.csrecho "subjectAltName=DNS:exploit.se,IP:10.10.10.10" >> extfile.cnfCertificate Formats
Convert Certs
COMMAND
CONVERSION
Verify Certificates
Install the CA Cert as a trusted root CA
On Debian & Derivatives
On Windows
On Android
Last updated