New
host DOMAIN.COM
sudo /opt/bitnami/bncert-tool
バナー消し
sudo /opt/bitnami/apps/APPNAME/bnconfig --disable_banner 1
OLD
$ cd /tmp
$ git clone https://github.com/letsencrypt/letsencrypt
$ cd letsencrypt
$ ./letsencrypt-auto
$ ./letsencrypt-auto certonly –webroot -w /opt/bitnami/apps/wordpress/htdocs/ -d ドメイン名
$ sudo cp /etc/letsencrypt/live/ドメイン名/fullchain.pem /opt/bitnami/apache2/conf/server.crt
$ sudo cp /etc/letsencrypt/live/ドメイン名/privkey.pem /opt/bitnami/apache2/conf/server.key
$ sudo /opt/bitnami/ctlscript.sh restart apache
3ヶ月に1度更新が必要かも
/tmpに保存してると再起動で消えるかも
これも必要かも
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -f
バナー消し
$ sudo /opt/bitnami/apps/wordpress/bnconfig –disable_banner 1
$ sudo /opt/bitnami/ctlscript.sh restart apache
cd /usr/local/bin
sudo git clone https://github.com/letsencrypt/letsencrypt
cd /usr/local/bin/lets encrypt
sudo chown root ./certbot-auto
sudo chmod 0755 ./certbot-auto
sudo chown root ./letsencrypt-auto
sudo chmod 0755 ./letsencrypt-auto
sudo ./letsencrypt-auto
sudo ./letsencrypt-auto certonly –webroot -w /opt/bitnami/apps/wordpress/htdocs/ -d XXXXXX.XXXX
sudo cp /etc/letsencrypt/live/XXXXXX.XXX/fullchain.pem /opt/bitnami/apache2/conf/server.crt
sudo cp /etc/letsencrypt/live/XXXXXX.XXX/privkey.pem /opt/bitnami/apache2/conf/server.key
sudo /opt/bitnami/ctlscript.sh restart apache
1 1 1 * * sudo /usr/local/bin/letsencrypt/letsencrypt-auto renew
2 1 1 * * sudo cp /etc/letsencrypt/live/hoge.com/fullchain.pem /opt/bitnami/apache2/conf/server.crt
3 1 1 * * sudo cp /etc/letsencrypt/hoge.com/fullchain.pem /opt/bitnami/apache2/conf/server.crt
4 1 1 * * /opt/bitnami/ctlscript.sh restart apache