Last active
September 1, 2022 11:41
-
-
Save supgeek-rod/a41dfb32e847446ed2a9b52b2adef5c9 to your computer and use it in GitHub Desktop.
Linux
This file contains hidden or 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
## 安装 | |
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