hns - 日記自動生成システム - Version 2.19.9

先月 2021年12月 来月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2021年12月04日() 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [LetEncrypt] cyrus imapd

cyrus imap running with id = cyrus, and that id needs to read certificate
/usr/pkg/etc/letsencrypt/archive/
at least we need this, without this, you'll get following at /var/log/messages
Dec  4 20:21:27 imap4 imaps[20616]: TLS server engine: cannot load CA data
Dec  4 20:21:27 imap4 imaps[20616]: unable to get certificate from '/usr/pkg/etc/letsencrypt/live/ki.nu/fullchain.pem'
Dec  4 20:21:27 imap4 imaps[20616]: TLS server engine: cannot load cert/key data
Dec  4 20:21:27 imap4 imaps[20616]: error initializing TLS
Dec  4 20:21:27 imap4 imaps[20616]: Fatal error: tls_init() failed

#2 LetEncrypt

  1. 更新前の期限を調べておく (993, 587) 以前の日記
            Validity
                Not Before: Sep  5 22:36:44 2021 GMT
                Not After : Dec  4 22:36:43 2021 GMT
    
  2. DNS の変更の準備をする
  3. certbot を起動する
    X3@root 20:00:32/211204(/home/makoto)% certbot-3.8 certonly \
         --manual \
         --server https://acme-v02.api.letsencrypt.org/directory \
         --preferred-challenges dns \
         -d '*.example.com' \
         -d example.com \
         -m makoto@example.com \
         --agree-tos \
         --manual-public-ip-logging-ok
    
  4. DNS の変更をした上で、本当に変っているか調べて
    dig  +noall +ans txt   _acme-challenge.example.com @8.8.8.8
    
  5. certbot に Enter を入力
  6. 出来た証明書を server に copy
  7. cat full+priv > full+priv
  8. chmod x 2 (top directory と archive)
  9. cyrus を{再起動)
  10. 期限を調べる (993)
  11. sendmail を再起動
  12. 期限を調べる (587 -starttls smtp)
        Validity
            Not Before: Dec  4 10:02:52 2021 GMT
            Not After : Mar  4 10:02:51 2022 GMT



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)