SSL Certificates

From NixOS Wiki
Revision as of 07:53, 14 August 2024 by Unabomberlive (talk | contribs)

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.