Skip to content

Commit

Permalink
vars.example: Add flags for auto-SAN and X509 critical attribute
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Jul 17, 2024
1 parent a82ca2b commit a41dfcc
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -5228,6 +5228,18 @@ fi
# Cut-off window for checking expiring certificates.
#
#set_var EASYRSA_PRE_EXPIRY_WINDOW 90

# Generate automatic subjectAltName for certificates
#
#set_var EASYRSA_AUTO_SAN 1

# Add critical attribute to X509 fields: basicConstraints (BC),
# keyUsage (KU), extendedKeyUsage (EKU) or SAN
#
#set_var EASYRSA_BC_CRIT 1
#set_var EASYRSA_KU_CRIT 1
#set_var EASYRSA_EKU_CRIT 1
#set_var EASYRSA_SAN_CRIT 1
CREATE_VARS_EXAMPLE
;;
ssl-cnf|safe-cnf)
Expand Down
12 changes: 12 additions & 0 deletions easyrsa3/vars.example
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,18 @@ fi
#
#set_var EASYRSA_PRE_EXPIRY_WINDOW 90

# Generate automatic subjectAltName for certificates
#
#set_var EASYRSA_AUTO_SAN 1

# Add critical attribute to X509 fields: basicConstraints (BC),
# keyUsage (KU), extendedKeyUsage (EKU) or SAN
#
#set_var EASYRSA_BC_CRIT 1
#set_var EASYRSA_KU_CRIT 1
#set_var EASYRSA_EKU_CRIT 1
#set_var EASYRSA_SAN_CRIT 1

# Support deprecated "Netscape" extensions? (choices "yes" or "no").
# The default is "no", to discourage use of deprecated extensions.
# If you require this feature to use with --ns-cert-type, set this to "yes".
Expand Down

0 comments on commit a41dfcc

Please sign in to comment.