Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
universalbit-dev authored May 14, 2024
1 parent 65e45ff commit 9995648
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions ssl/distinguished.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# default section for variable definitions

DN = ca_dn
DISTINGUISHED_NAME = ${ENV::DN}

# certificate request configuration

[ req ]
default_bits = 2048
default_md = sha256
encrypt_key = no
prompt = no
string_mask = utf8only
distinguished_name = ${DISTINGUISHED_NAME}

[ ca_dn ]
C = IT
ST = Rome
L = Rome
O = UniversalBit
OU = universalbit
CN = unbt
emailAddress = [email protected]

# certificate authority configuration
[ ca_ext ]
authorityKeyIdentifier = keyid, issuer
subjectKeyIdentifier = hash
basicConstraints = critical, CA:TRUE, pathlen:1
keyUsage = critical, keyCertSign, cRLSign

# another distinguished name
[ other_dn ]
C = SE
ST = Stockholm
L = Stockholm
O = Organization
OU = Unit
CN = Name 2

0 comments on commit 9995648

Please sign in to comment.