SSL Certificates: Difference between revisions
Created page. |
m Fixed code blocks |
||
Line 1: | Line 1: | ||
To install SSL Certificates, use one of the following | To install SSL Certificates, use one or both of the following options:<syntaxhighlight lang="nixos"> | ||
security.pki.certificates = [ "<insert_certificate_text_here>" ]; | |||
security.pki.certificateFiles = [ "/path/to/cert1" "/path/to/cert2" ]; | |||
</syntaxhighlight> | |||
security.pki.certificateFiles = [ "/path/to/cert1" "/path/to/cert2" ] | |||
The first option is a list of strings, whereas the second is a list of filesystem paths. | The first option is a list of strings, whereas the second is a list of filesystem paths. |
Revision as of 07:38, 14 August 2024
To install SSL Certificates, use one or both of the following options:
security.pki.certificates = [ "<insert_certificate_text_here>" ];
security.pki.certificateFiles = [ "/path/to/cert1" "/path/to/cert2" ];
The first option is a list of strings, whereas the second is a list of filesystem paths.