From: Raghav Gururajan <rg@raghavgururajan.name>
To: Pierre Langlois <pierre.langlois@gmx.com>
Cc: help-guix@gnu.org
Subject: Re: Certbot with DNS Challenge
Date: Sat, 17 Apr 2021 12:53:01 -0400 [thread overview]
Message-ID: <a11eec0a-bd09-f564-52de-9d909c0e22f2@raghavgururajan.name> (raw)
In-Reply-To: <87v98klva4.fsf@gmx.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 1262 bytes --]
Hi Pierre!
>> So, in your snippet, I should replace certbot-*-hook with "/etc/desec/hook.sh",
>> right?
>
> Is the "hook.sh" script copied directly from the desec-certbot-hook
> package? In which case, I think you'll want to use `file-append` to
> directly refer to the package's script, something like this?
>
> --8<---------------cut here---------------start------------->8---
> (authentication-hook (file-append desec-certbot-hook "/etc/hook.sh")
> (cleanup-hook (file-append desec-certbot-hook "/etc/hook.sh")
> --8<---------------cut here---------------end--------------->8---
The package is not in Guix yet (#47840). For now, manually downloaded
the script and placed it in /etc/desec.
I tried the following and it worked,
(service certbot-service-type
(certbot-configuration
(email "admin@raghavgururajan.name")
(certificates
(list
(certificate-configuration
(domains '("raghavgururajan.name" "*.raghavgururajan.name"))
(challenge "dns")
(authentication-hook "/etc/desec/hook.sh")
(cleanup-hook "/etc/desec/hook.sh"))))))
I was wondering how to generate certs with custom CSR, provided by some
hosting-providers. Any ideas?
Regards,
RG.
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2649 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
prev parent reply other threads:[~2021-04-17 17:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-17 10:14 Certbot with DNS Challenge Raghav Gururajan
2021-04-17 10:25 ` Pierre Langlois
2021-04-17 10:35 ` Vincent Legoll
2021-04-17 16:48 ` Pierre Langlois
2021-04-17 12:27 ` Raghav Gururajan
2021-04-17 16:40 ` Pierre Langlois
2021-04-17 16:53 ` Raghav Gururajan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a11eec0a-bd09-f564-52de-9d909c0e22f2@raghavgururajan.name \
--to=rg@raghavgururajan.name \
--cc=help-guix@gnu.org \
--cc=pierre.langlois@gmx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).