let’s encrypt の証明書からwindows用の証明書を作成して共有フォルダーにコピーする

!/bin/bash
certbot renew
systemctl restart apache2
cd /etc/letsencrypt/live/hogehoge.jp
echo | openssl pkcs12 -export -out hogehoge.jp.windows.pfx -inkey privkey.pem -in fullchain.pem -certfile chain.pem -passout stdin
cp hogehoge.jp.windows.pfx /system_folder

コメントを書く


Warning: Undefined variable $user_ID in /home/r6519429/public_html/tamura.jp/wp-content/themes/tamura_thema1/comments.php on line 156