SSLCertificateKeyFile
This directive is used to configure the private key attached to the certificate returned by Apache during the SSL connection. If the private key is encrypted with a password, the password is asked each server startup. Here is an example of the contents of an unencrypted private key:
-----BEGIN PRIVATE KEY----- xxxxxxxxxx your private key xxxxxxxxxx -----END PRIVATE KEY-----
For an encrypted private key:
-----BEGIN ENCRYPTED PRIVATE KEY----- xxxxxxxxxx your encrypted private key xxxxxxxxxx -----END ENCRYPTED PRIVATE KEY-----
In the Apache configuration file this will give:
SSLCertificateKeyFile /path/to/your/privatekey.key
This directive is compatible with:
- mod_ssl 2.0 and higher: see official documentation
- apache 2.X and higher: see official documentation
Useful links
Last edited on 08/03/2020 08:42:03 --- [search]