Reference
certificates feature
What it doesPermalink to What it does#
TLS certificates at /var/lib/acme/certs/NAME, with a placeholder until a real one is installed and optional renewal with uacme.
Use itPermalink to Use it#
Import it from (vessel system features certificates). This part of a system configuration uses it:
Example: feature-certificates-example
(import (vessel system)
(vessel system features nginx)
(vessel system features certificates))
;; Let's Encrypt certificates through nginx's HTTP challenge, renewed by
;; cron.
(system-configuration
features:
(append
(list (nginx-feature)
(certificates-feature challenge: 'http-01
email: "[email protected]")
(simple-feature 'site certificates-feature
(list (certificate-request name: "example.org"
alt-names: '("www.example.org")))))
%server-features))
Verified
A real system.sgl also sets the fields this example leaves out: the host name, kernel, boot loader and file systems. Every time the manual is built, it composes this configuration with Vessel's code and checks what the feature receives.
OptionsPermalink to Options#
Pass these keyword fields directly to the feature type. The optional name: keyword sets the instance name; a copy keeps it unless changed.
Option | Default | Type | Description |
|---|---|---|---|
|
| not available | not available |
|
| not available | not available |
|
| not available | not available |
|
| not available | not available |
|
| not available | not available |
|
| not available | not available |
What it addsPermalink to What it adds#
Its declared extensions target these feature types:
What it receivesPermalink to What it receives#
certificate-request: A certificate for a name and its alternative names.