Skip to content

Instantly share code, notes, and snippets.

@supgeek-rod
Last active September 1, 2022 11:41
Show Gist options
  • Save supgeek-rod/a41dfb32e847446ed2a9b52b2adef5c9 to your computer and use it in GitHub Desktop.
Save supgeek-rod/a41dfb32e847446ed2a9b52b2adef5c9 to your computer and use it in GitHub Desktop.
Linux
## 安装
apt install certbot python3-certbot-apache apache2
## 签发证书
certbot --apache -d yourdomain.com -d www.youdomain.com
## 签发泛域名证书
$ certbot certonly --preferred-challenges dns --manual -d 'yourdomain.com' -d '*.yourdomain.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