Let’s Encrypt、素晴らしいんだけど、
とあるserverで、使っているのがUbuntu 11.04(Natty)、
package systemが何か壊れてて、
依存関係がおかしくて解消できなくて、
というcaseがありました。
基本的にどこを調べても、
Let’s Encryptを使うには既存のpackaging systemをbaseにしたものばかりで、
Stackoverflowなんかでも「backportsを使って既存のpackaging依存関係を
修築してから」なんていう話しかなくて。
なんかこう、certobot-autoを使わないで、
っていう話って意外となくて途方に暮れていると、
こんなのがありました。
# git clone https://github.com/Neilpang/acme.sh
# cd acme.sh
# ./acme.sh --install
# ./acme.sh --issue -d dev.locationsupporter.info -w /var/lib/tomcat7/webapps/ROOT/
# vi /etc/apache2/sites-enabled/default-ssl
=============================================
SSLCertificateFile /root/.acme.sh/dev.locationsupporter.info.cer
SSLCertificateKeyFile /root/.acme.sh/dev.locationsupporter.info.key
SSLCertificateChainFile /root/.acme.sh/fullchain.cer
=============================================
# crontab -l