MoinQ:

Letsencrypt/certbot/FreeBSDについて、ここに記述してください。

FreeBSD/letsencrypt/certbot /certbot

certbot-auto renew

FreeBSDではサポートされない。

/deploy-hook

1. standalone

# certbot certonly --standalone -d moin.qmail.jp

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
An unexpected error occurred:
ValueError: Requesting acme-v02.api.letsencrypt.org/directory: No route to host
Please see the logfiles in /var/log/letsencrypt for more details.

HTTPS接続を試みているので、poundが動いている状態ではエラーになる。

-- ToshinoriMaeno 2019-01-24 06:11:43

port 80では動くはずだが。

2. certifcates

# certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Found the following certs:
  Certificate Name: moin.qmail.jp-0002
    Domains: moin.qmail.jp
    Expiry Date: 2019-04-18 08:03:08+00:00 (VALID: 84 days)
    Certificate Path: /usr/local/etc/letsencrypt/live/moin.qmail.jp-0002/fullchain.pem
    Private Key Path: /usr/local/etc/letsencrypt/live/moin.qmail.jp-0002/privkey.pem
  Certificate Name: www.brau.jp
    Domains: www.brau.jp
    Expiry Date: 2019-04-22 13:17:18+00:00 (VALID: 88 days)
    Certificate Path: /usr/local/etc/letsencrypt/live/www.brau.jp/fullchain.pem
    Private Key Path: /usr/local/etc/letsencrypt/live/www.brau.jp/privkey.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

/expand