Skip to content

Instantly share code, notes, and snippets.

View Bobsans's full-sized avatar
👽
Write code

Bobsans Bobsans

👽
Write code
  • Dim-Tim, Inc.
View GitHub Profile
@Bobsans
Bobsans / create-self-signed-wildcard-certificate.md
Last active September 9, 2020 16:59 — forked from bitoiu/self-signed-wildcard-cert-for-ghes.md
Self-Signed Wildcard certificate with SAN using openssl

Copy the default template of openssl.cnf to a writable location.

cp /etc/ssl/openssl.cnf src

Uncomment the req_extensions = v3_req

req_extensions = v3_req # The extensions to add to a certificate request

Add subjectAltName to v3_req section