SSL Certificates

From NixOS Wiki
Revision as of 07:35, 14 August 2024 by Serif (talk | contribs) (Created page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

To install SSL Certificates, use one of the following two options:

```nix

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.