~emersion/soju-dev

soju: Add certbot instructions. v1 SUPERSEDED

Hi,
According to the discussion we just had on #soju, here is a quick and
dirty draft of a documentation that may help future soju hosters get the
correct certificate at the correct path.
Best,

neogaldr (1):
  Add certbot instructions.

 contrib/certbot.md | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 contrib/certbot.md

-- 
2.38.4
#962316 .build.yml success
soju/patches/.build.yml: SUCCESS in 2m8s

[Add certbot instructions.][0] from [~martylake][1]

[0]: https://lists.sr.ht/~emersion/soju-dev/patches/39972
[1]: mailto:neogaldr@gmail.com

✓ #962316 SUCCESS soju/patches/.build.yml https://builds.sr.ht/~emersion/job/962316
A while ago I wrote some instructions at [1]. It would be nice if
someone could try them out and confirm they work.

[1]: https://paste.sr.ht/~emersion/1cfd3b12b71caac569cfdafd033ee2b0aee598e8
Superseded by: https://git.sr.ht/~emersion/soju/commit/a52cd5aa4310f98c551f35ca354090cc8fa258fc
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/soju-dev/patches/39972/mbox | git am -3
Learn more about email & git

[PATCH soju 1/1] Add certbot instructions. Export this patch

From: neogaldr <neogaldr@gmail.com>

---
 contrib/certbot.md | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 contrib/certbot.md

diff --git a/contrib/certbot.md b/contrib/certbot.md
new file mode 100644
index 0000000..e386a49
--- /dev/null
+++ b/contrib/certbot.md
@@ -0,0 +1,21 @@
# Certbot

After following the instructions of certbot to generate a certificate
for your domain (here `example.org`), copy the `fullchain.pem` and
the `privkey.pem` next to your config file.

```sh
$ cp certbot-data/live/example.org/fullchain.pem soju-data/cert.pem
$ cp certbot-data/live/example.org/privkey.pem   soju-data/key.pem
```


# Config file

Make sure the config file has these directives:

```
listen ircs://
tls cert.pem key.pem
hostname example.org
```
-- 
2.38.4
soju/patches/.build.yml: SUCCESS in 2m8s

[Add certbot instructions.][0] from [~martylake][1]

[0]: https://lists.sr.ht/~emersion/soju-dev/patches/39972
[1]: mailto:neogaldr@gmail.com

✓ #962316 SUCCESS soju/patches/.build.yml https://builds.sr.ht/~emersion/job/962316
A while ago I wrote some instructions at [1]. It would be nice if
someone could try them out and confirm they work.

[1]: https://paste.sr.ht/~emersion/1cfd3b12b71caac569cfdafd033ee2b0aee598e8
Superseded by: https://git.sr.ht/~emersion/soju/commit/a52cd5aa4310f98c551f35ca354090cc8fa258fc