SSL Certificates: Difference between revisions

From NixOS Wiki
Serif (talk | contribs)
m Fixed code blocks
Unabomberlive (talk | contribs)
mNo edit summary
Line 1: Line 1:
To install SSL Certificates, use one or both of the following options:<syntaxhighlight lang="nixos">
To install SSL Certificates, use one or both of the following options:<syntaxhighlight lang="nix">
security.pki.certificates = [ "<insert_certificate_text_here>" ];
security.pki.certificates = [ "<insert_certificate_text_here>" ];



Revision as of 07:53, 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.