SSL Certificates: Difference between revisions
m Serif moved page Installing SSL Certificates to SSL Certificates: Broaden article to to SSL certs as a topic instead of just one specific task |
Fix certificateFiles format, verified as workingjust now by me, found here: https://www.reddit.com/r/NixOS/comments/1bjn4g0/comment/mn5rlpb/ |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
SSL Certificates, also called [[wikipedia:Public_key_certificate|public key certificates]], are | TLS/SSL Certificates, also called [[wikipedia:Public_key_certificate|public key certificates]], are files that verify the authenticity of a website or other online entity. They contain the public key of the certificate holder and are issued by trusted certificate authorities to enable secure, encrypted communications between clients and servers. | ||
== Obtain new certificates == | |||
To | See [[ACME]]. | ||
== Installation == | |||
To add additional trusted root 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>" ]; | ||
security.pki.certificateFiles = [ | security.pki.certificateFiles = [ | ||
/path/to/cert1 | |||
/path/to/cert2 | |||
]; | |||
</syntaxhighlight> | </syntaxhighlight> | ||
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. | ||
[[Category:Security]] | |||
[[Category:Networking]] | |||