EasyRSA

From Lolly's Wiki
Revision as of 19:04, 11 February 2016 by Lollypop (talk | contribs) (Die Seite wurde neu angelegt: „ ==User certificates with passwords in scripts== Add a line after <i># output_password = secret</i>: <source lang=bash> # output_password = secret output_pas…“)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


User certificates with passwords in scripts

Add a line after # output_password = secret:

# output_password = secret
output_password = $ENV::KEY_PASS

After that the openssl calls taking the needed password from the environment variable KEY_PASS.

You can call it like this for example:

KEY_PASS="password" ./build-key-pass --batch user