about summary refs log tree commit diff
path: root/nixos/modules/security/acme.xml
Commit message (Collapse)AuthorAge
* nixos/acme: indicate support for other providersLucas Savva2020-05-01
|
* nixos/acme: update documentationLucas Savva2020-04-29
|
* nixos/acme: fix some descriptions, default acceptTerms to falseLucas Savva2020-01-19
|
* nixos/acme: replace simp-le with lego clientLucas Savva2020-01-12
| | | | | | | | | | | | | | | | | | | | | | Lego allows users to use the DNS-01 challenge to validate their certificates. It is mostly backwards compatible, with a few caveats. - extraDomains can no longer have different webroots to the main webroot for the cert. - An email address is now mandatory for account creation The following other changes were required: - Deprecate security.acme.certs.<name>.plugins, as this was specific to simp-le - Rename security.acme.validMin to validMinDays, to avoid confusion and errors. Lego requires the TTL to be specified in days - Add options to cover DNS challenge (dnsProvider, credentialsFile, dnsPropagationCheck) - A shared state directory is now used (/var/lib/acme/.lego) to avoid account creation rate limits and share credentials between certs
* Revert "nixos/doc: re-format"Eelco Dolstra2019-09-19
| | | | | This reverts commit ea6e8775bd69e4676c623a85c39f1da540d29ad1. The new format is not an improvement.
* nixos/doc: re-formatJan Tojnar2019-09-18
|
* Fix letsencrypt (#60219)Arian van Putten2019-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nixos/acme: Fix ordering of cert requests When subsequent certificates would be added, they would not wake up nginx correctly due to target units only being triggered once. We now added more fine-grained systemd dependencies to make sure nginx always is aware of new certificates and doesn't restart too early resulting in a crash. Furthermore, the acme module has been refactored. Mostly to get rid of the deprecated PermissionStartOnly systemd options which were deprecated. Below is a summary of changes made. * Use SERVICE_RESULT to determine status This was added in systemd v232. we don't have to keep track of the EXITCODE ourselves anymore. * Add regression test for requesting mutliple domains * Deprecate 'directory' option We now use systemd's StateDirectory option to manage create and permissions of the acme state directory. * The webroot is created using a systemd.tmpfiles.rules rule instead of the preStart script. * Depend on certs directly By getting rid of the target units, we make sure ordering is correct in the case that you add new certs after already having deployed some. Reason it broke before: acme-certificates.target would be in active state, and if you then add a new cert, it would still be active and hence nginx would restart without even requesting a new cert. Not good! We make the dependencies more fine-grained now. this should fix that * Remove activationDelay option It complicated the code a lot, and is rather arbitrary. What if your activation script takes more than activationDelay seconds? Instead, one should use systemd dependencies to make sure some action happens before setting the certificate live. e.g. If you want to wait until your cert is published in DNS DANE / TLSA, you could create a unit that blocks until it appears in DNS: ``` RequiredBy=acme-${cert}.service After=acme-${cert}.service ExecStart=publish-wait-for-dns-script ```
* docs: formatGraham Christensen2018-09-29
|
* nixos docs: give IDs to thingsGraham Christensen2018-09-01
|
* Added cross-references to NixOS manualReuben D'Netto2018-04-12
|
* nixos/acme: remove doc note about restarting nginxChris Martin2017-10-30
| | | | | Discussion from #30945 indicates that it is no longer true that you have to restart nginx.
* nixos docs: update for Nginx + ACME (#21320)teh2017-01-09
| | | Closes #20698.
* acme: ensure nginx challenges directory is writeableDomen Kožar2016-11-29
|
* acme: we do want to support ipv4 afterallDomen Kožar2016-10-21
|
* acme: provide full nginx exampleDomen Kožar2016-10-21
| | | | | (cherry picked from commit 2af7382f76a6523f1220637b3ec49ad25a02b040) Signed-off-by: Domen Kožar <domen@dev.si>
* acme: added option `security.acme.preliminarySelfsigned` (#15562)Bob van der Linden2016-06-01
|
* nixos/acme: Add module documentationFranz Pletz2015-12-12