Skip to content

Instantly share code, notes, and snippets.

@lubo
Last active August 14, 2020 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lubo/ac29174347b3e0c8521ed505b4996ddc to your computer and use it in GitHub Desktop.
Save lubo/ac29174347b3e0c8521ed505b4996ddc to your computer and use it in GitHub Desktop.
Minimal OpenSSL CSR template with SANs, ideal for requesting DV SAN X.509 certificates
[req]
distinguished_name = req_distinguished_name
req_extensions = v3_req
prompt = no
[req_distinguished_name]
CN = example.com
[v3_req]
subjectAltName = @alt_names
[alt_names]
DNS.1 = example.com
DNS.2 = www.example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment