Skip to content

Instantly share code, notes, and snippets.

@srockstyle
Created September 7, 2018 00:05
Show Gist options
  • Save srockstyle/6eb1e5f3d0c336b67243f7417a920aaa to your computer and use it in GitHub Desktop.
Save srockstyle/6eb1e5f3d0c336b67243f7417a920aaa to your computer and use it in GitHub Desktop.
yumでnginx用のcertbotをインストール
# インストール
$ 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