Skip to content

Instantly share code, notes, and snippets.

View vinhliem's full-sized avatar

vinhliem vinhliem

View GitHub Profile
@taoyuan
taoyuan / generate_self_signed_certification.md
Last active July 24, 2024 19:50
Generation of a Self Signed Certificate

Generation of a Self Signed Certificate

Generation of a self-signed SSL certificate involves a simple 3-step procedure:

STEP 1: Create the server private key

openssl genrsa -out cert.key 2048

STEP 2: Create the certificate signing request (CSR)

openssl req -new -key cert.key -out cert.csr