Don't ask for ca-password during update-db if EASYRSA_PASSIN is set
Now it is possible to run the command update-db without being asked for the ca-password, if the option --passin is provided at the command line.
This commit is contained in:
parent
c505a14be5
commit
09637e3243
@ -1493,7 +1493,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