Syntax: | ssl_password_file |
---|---|
Default: | — |
Context: | http , server |
This directive appeared in version 1.7.3.
Specifies a file
with passphrases for secret keys where each passphrase is specified on a separate line. Passphrases are tried in turn when loading the key.
Example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | http { ssl_password_file /etc/keys/global.pass; ... server { server_name www1.example.com; ssl_certificate_key /etc/keys/first.key; } server { server_name www2.example.com; # named pipe can also be used instead of a file ssl_password_file /etc/keys/fifo; ssl_certificate_key /etc/keys/second.key; } } |
Please login to continue.