Skip to content

Instantly share code, notes, and snippets.

@keleric
Created January 25, 2017 00:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save keleric/78e72aea054d5557c6401b7b34d7f647 to your computer and use it in GitHub Desktop.
Valid ssl.cnf file
[req]
distinguished_name = req_distinguished_name
prompt = no
[v3_req]
subjectAltName = @alt_names
[alt_names]
DNS.1 = localhost
IP.1 = 127.0.0.1
IP.2 = 10.0.2.2
[req_distinguished_name]
commonName = $ENV::COMMON_NAME # CN=
countryName = US # C=
stateOrProvinceName = WA # ST=
localityName = Seattle # L=
organizationName = Amazon # O=
organizationalUnitName = Alexa # OU=
@MopheusDG
Copy link

Is it possible to set this for Buenos Aires / Argentina for example ? I mean, what are the 2 letters code based on ? Any standard ? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment