Certbot: Difference between revisions
imported>Onny No edit summary |
imported>Onny mNo edit summary |
||
Line 32: | Line 32: | ||
{{Note|Following example describes the usage of an experimental plugin which is still being reviewed as an open PR and might not be ready for production.}} | {{Note|Following example describes the usage of an experimental plugin which is still being reviewed as an open PR and might not be ready for production.}} | ||
Installing ''certbot'' system wide with specific plugin included | |||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | {{file|/etc/nixos/configuration.nix|nix|<nowiki> | ||
environment.systemPackages = with pkgs; [ | environment.systemPackages = with pkgs; [ | ||
( certbot.withPlugins (ps: with ps; [ | ( certbot.withPlugins (ps: with ps; [ certbot-dns-inwx ]) ) | ||
]; | ]; | ||
</nowiki>}} | </nowiki>}} | ||
Manually generate certificates for <code>example.org</code> using the ''inwx''-plugin | |||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
# certbot certonly -a dns-inwx -d example.org | # certbot certonly -a dns-inwx -d example.org --register-unsafely-without-email --agree-tos | ||
</syntaxhighlight> | </syntaxhighlight> |