Skip to content

Commit

Permalink
not requiring same org as ca
Browse files Browse the repository at this point in the history
  • Loading branch information
kiemlicz committed Dec 30, 2023
1 parent 5717694 commit 0661d57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions sec/cert_functions
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ gen_csr_sign() {
# todo create method accepting ca files as arg
# check if this aids -CAcreateserial for those stupid files creation
BASE_DIR=$4 openssl ca -config $3 -batch -days ${5-10000} -notext -md sha256 -in $1 -out $2
# if signing intermediate CA, add: -extensions v3_intermediate_ca
}

# generate certificate revocation list
Expand Down
3 changes: 2 additions & 1 deletion sec/openssl-ca.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ name_opt = ca_default
cert_opt = ca_default
default_days = 375
preserve = no
policy = policy_strict
# policy = policy_strict
policy = policy_loose

copy_extensions = copy

Expand Down

0 comments on commit 0661d57

Please sign in to comment.