Skip to content

Instantly share code, notes, and snippets.

@jespernohr
Created November 6, 2015 18:25
Show Gist options
  • Select an option

  • Save jespernohr/89a237e413706625c072 to your computer and use it in GitHub Desktop.

Select an option

Save jespernohr/89a237e413706625c072 to your computer and use it in GitHub Desktop.
# Create privat key (4096 bit):
openssl genrsa -out domain.gl.key 4096
# Create CSR with subject alternative names config file (Certificate Signing Request):
openssl req -new -sha256 -key domain.gl.key -out domain.gl.csr -config openssl.cnf
# Verify CSR:
openssl req -text -noout -verify -in domain.gl.csr
# Verify Certificate
openssl x509 -in aaa_cert.pem -noout -text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment