Created
September 7, 2018 00:05
-
-
Save srockstyle/6eb1e5f3d0c336b67243f7417a920aaa to your computer and use it in GitHub Desktop.
yumでnginx用のcertbotをインストール
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# インストール | |
$ yum -y install yum-utils | |
$ yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional | |
$ sudo yum install python2-certbot-nginx | |
# 始める | |
$ sudo certbot --nginx | |
# ワイルドカード | |
$ sudo certbot -a dns-plugin -i nginx -d "*.example.com" -d example.com --server https://acme-v02.api.letsencrypt.org/directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment