|
Creating virtual environment Installing Python Package(長い) →Certbot has problem setting up the virtual environment. We were not be able to guess the right solution from your pip output. (コマンド入力からエラー終了までを、/home/pi/パイソンエラー2.txtとして保存) |
|
/etc/pip.conf を修正し extra-index-url=https:///pinwheel.org の行をコメントアウトする |
| またはこのファイルを削除する |
|
$uname -a Linux raspberrypi 4.19.42+ #1219 Tue May 14 21:16:38 BST 2019 armv6l GNU/Linux $cat /etc/issue Raspbian GNU/Linux 9 \n \l $cat /etc/debian_version 9.9 $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.9 (stretch) Release: 9.9 Codename: stretch |
|
$sudo apt install certbot 約4.157KBのディスクが必要 raspberrypi.orgに接続、764KBを25秒でダウンロード →パッケージを展開、Python3-request-toolbeltを設定 |
| $certbot –apache |
|
certbot main certbot version 0.28.0 Arguments –apache discovered plugins logging level set at 20 certbot plugins selections: - Requested authenticator apache and installer apache - No candidate plugin selected uthenticator none and installer none 云々 |
|
$sudo apt-get install certbot python-certbot-apache →73個の保留(certbot-autoの失敗と同) 以前に未選択のパッケージ python3-augeasを選択します。云々と成功。その上で、 |
|
$sudo certbot --apache 数秒の後に、以下の応答がある - Saving debug log to /var/log/letsencrypt/letencrypt.log -Plugins selected: Authenticator apache, Installer apache -Enter email address(used for urgent renewal and security notices)→nifty -https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdfを読め ACME Server: https://acme-v02.api.letsencrypt.org/directory |
|
1.用語の定義 2.有効期限 3.ユーザの義務 4.ISRGの権利と義務 云々(長い) |
|
No names were found in your configuration files. Please enter in your domain name→brl.dix.asia (後でwww.dix.asiaに修正)。 |
|
セキュリティ証明書と、サイト名の証明書上の名前が一致しません。 SSLサーバ証明書にはお申し込み時にお客様からいただいたCSRに含まれるコモンネームの情報が入ります。 CSR作成時 xxx.ssl-store.jp URL : www.sslstore.jpに変更して再登録 $sudo certbot –apache –expand –d www.brl.dix.asia → 1. 000-default.conf 2. 001-default-ssl.conf 3. default-ssl.conf どうする? →2を選択 →Enhancement redirect was already set. 鍵は/etc/letsencrypt/keysに保存されている 0000_key-certbot.pem 1708 (190720 15:18) 0001_key-certbot.pem 1704 (190720 16:09) 0002_key-certbot.pem 1704 (190720 16:17) =>これらは、エラーを修正しながら3回試行錯誤した結果である。 /etc/letsencrypt/csrにCSRが保存されている。 0000_csr-certbot.pem 920 (190720 15:18) 0001_csr-certbot.pem 920 (190720 16:09) 0002_csr-certbot.pem 928 (190720 16:17) /etc/letsencrypt/live/README (15:19) /etc/letsencrypt/live/brl.dix.asia (16:19) README (15:19) cert.pem -> ../../archive/brl.dix.asia/cert2.pem (16:09) chain.pem->../../archive/brl.dix.asia/chain2.pem (16:09) fullchain.pem->../../archive/brl.dix.asia/fullchain2.pem (16:09) privkey.pem->../../archive/brl.dix.asia/privkey2.pem (16:09) /etc/letsencrypt/live/www.brl.dix.asia (16:17) README (16:17) cert.pem->../../archive/www.bri.dix.asia/cert1.pem (16:17) chain.pem->../../archive/www.bri.dix.asia/chain1.pem (16:17) fullchain.pem->../../archive/www.bri.dix.asia/fullchain1.pem (16:17) privkey.pem->../../archive/www.bri.dix.asia/privkey1.pem (16:17) /var/www/ssd にBUする。 /etc# cp letsencrypt /var/www/ssd |
|
コモンネーム:www.brl.dix.asia 組織名:Building Record Laboratory 部門名:Customer Service Department 都道府県名:Ibaraki 国別番号:jp |