Feature: --passin for update-db operations with CA
Merge branch 'madmajestro-use-passin-update-db' Adds support for leveraging the --passin option for the CA private key password when running the update-db command. Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
commit
e68faed0a3
@ -1498,7 +1498,7 @@ Failed to change the private key passphrase. See above for error messages."
|
||||
update_db() {
|
||||
verify_ca_init
|
||||
|
||||
easyrsa_openssl ca -utf8 -updatedb || die "\
|
||||
easyrsa_openssl ca -utf8 -updatedb ${EASYRSA_PASSIN:+-passin "$EASYRSA_PASSIN"} || die "\
|
||||
Failed to perform update-db: see above for related openssl errors."
|
||||
return 0
|
||||
} # => update_db()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user