Let's Encryptサーバ引っ越し
DTIからConoHaに引っ越したんでLet's Encyptの証明書も新サーバにお引越し。
CentOS7なんで悩まないw。
yumでCertbotをインストールして/etc/letsencrypt以下をシンボリックリンクごと移動。
certbot renew
apacheめんどくさいのでnginxにしたんだよね。
なので以下設定ファイルを書き換え。
$sudo vi /etc/letsencrypt/renewal/hoge.hogehoge.jp.conf
[renewalparams]
#installer = apache
#authenticator = apache
authenticator = webroot
installer = None
account = ***********************************
server = https://acme-v02.api.letsencrypt.org/directory
webroot_path = /usr/share/nginx/html,
webroot_map
hoge.hogehoge.jp = /usr/share/nginx/html
certbot renew --dry-runで確認OK。