Notebook
これは日々の作業を通して学んだことや毎日の生活で気づいたことをを記録しておく備忘録である。
HTML ファイル生成日時: 2024/10/19 22:04:30.268 (台灣標準時)
TLS/SSL certificate の更新
ウェブサーバで HTTPS 接続ができるようにするときは、 TLS/SSL
certificate を準備しないと、ウェブブラウザが「安全ではない」と文句を言っ
てしまうでござる。 Let's Encrypt を利用すると、無料で TLS/SSL
certificate を得ることができるでござる。 certificate には有効期間があ
り、その有効期限は三ヶ月でござる。定期的に certificate を更新する必要
があるでござる。更新方法は簡単で、以下のコマンドを実行すればよいでござ
る。
# /usr/pkg/sbin/apachectl stop
# certbot-3.10 renew
Saving debug log to /var/letsencrypt/log/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /usr/pkg/etc/letsencrypt/renewal/foo.bar.baz.edu.tw.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Renewing an existing certificate for foo.bar.baz.edu.tw
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Congratulations, all renewals succeeded:
/usr/pkg/etc/letsencrypt/live/foo.bar.baz.edu.tw/fullchain.pem (success)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# /usr/pkg/sbin/apachectl start
注意点は、ウェブサーバを一度止めてから certbot コマンドを実行する点で
ござる。
- About this article:
- author: daisuke
- file: 20220424_0.html
- category: Computer___Network
- title: TLS/SSL certificate の更新
- mode: public
- last modified: 2023/07/11 17:30:02 (Taiwan Standard Time)
- html generated: 2024/10/19 22:04:30.268 (Taiwan Standard Time)
Frequently accessed files
- Computer___Python/20220518_0.html
- 10901 page views
- title: Matplotlib で作る図の縦横比
- Computer___Network/20230726_00.html
- 4304 page views
- title: git の SSL certificate problem の解決方法
- Computer___Network/20230516_00.html
- 3315 page views
- title: OpenVPN 2.6 を使い VPN Gate に接続するときの注意点
- Misc___Taiwan/20240207_00.html
- 3116 page views
- title: 台灣から台灣の外に EMS で荷物を発送する方法
- Computer___FreeBSD/20220621_0.html
- 2800 page views
- title: FreeBSD での X.org の設定の仕方
- Computer___Python/20220715_0.html
- 2115 page views
- title: SciPy による最小二乗法
- Food___Taiwan/20220429_0.html
- 1905 page views
- title: 「楊滇風」の滇味辣炒豬
- Computer___Network/20230508_00.html
- 1873 page views
- title: git push するときにパスワードの入力を省略する方法
- Computer___NetBSD/20220817_3.html
- 1639 page views
- title: JupyterLab のインストール直後に行うべきこと
- Computer___Python/20220410_0.html
- 1621 page views
- title: Pint モジュールを使った単位を含む数値の取り扱い
- Computer___Network/20240416_00.html
- 1522 page views
- title: git push としたときの error: RPC failed
- Computer___Debian/20210223_1.html
- 1500 page views
- title: Debian で autofs を使い自動で NFS マウントする方法
- Computer___Network/20240130_00.html
- 1434 page views
- title: Google Colaboratory で Python 3.12 を使う方法
- Computer___Python/20210124_0.html
- 1433 page views
- title: Python での argparse を使ったコマンドライン引数の取り扱い方法
- Computer___NetBSD/20220428_0.html
- 1392 page views
- title: Beamer で verbatim 環境を使う方法
- Computer___NetBSD/20230119_00.html
- 1391 page views
- title: NetBSD でバイナリーパッケージを利用する方法
- Computer___NetBSD/20220818_1.html
- 1386 page views
- title: Emacs の markdown-mode について
- Computer___Python/20221013_0.html
- 1377 page views
- title: Matplotlib での作図において順番を決めて点や線を描画する方法
- Science___Math/20220420_0.html
- 1260 page views
- title: ラプラシアンの三次元極座標表示
- Computer___NetBSD/20240101_02.html
- 1236 page views
- title: ffmpeg を使って動画に音声を追加する方法
- Computer___TeX/20230503_00.html
- 1230 page views
- title: LaTeX CJK で日本語や中国語を取り扱うための準備について
- Computer___NetBSD/20230515_00.html
- 1229 page views
- title: pkgsrc の fetch phase で問題
- Computer___NetBSD/20220808_0.html
- 1222 page views
- title: 端末エミュレーターで使うフォントを指定する方法
- Science___Astronomy/20220503_0.html
- 1219 page views
- title: Lane-Emden 方程式を数値的に解く
- Computer___Python/20240101_00.html
- 1150 page views
- title: Matplotlib の 3D plot においての注意点
- Computer___NetBSD/20210127_0.html
- 1132 page views
- title: NetBSD 上で Apache により HTTPS サーバを立ち上げる方法
- Computer___Network/20220413_1.html
- 1125 page views
- title: HTML 文書の中の一部の文字を点滅させる方法
- Travel___Taiwan/20220809_2.html
- 1113 page views
- title: 老鷹溪生態親子步道
- Computer___NetBSD/20210204_0.html
- 1112 page views
- title: Raspberry Pi 4 への NetBSD のインストール
- Computer___Python/20220816_1.html
- 1108 page views
- title: Binder を使って Python スクリプトを実行する
HTML file generated by Kinoshita Daisuke.