Replies: 1 comment
-
#!/bin/bash 安装socatsudo apt install socat 下载并安装acme.shcurl https://get.acme.sh | sh 进入.acme.sh文件夹cd /root/.acme.sh/ 注册账户./acme.sh --register-account -m tian.r.king@gmail.com 检查是否传入了域名if [ "$#" -ne 1 ]; then domain_name=$1 生成证书./acme.sh --issue -d $domain_name --standalone 使用openssl签名生成证书openssl x509 -req -days 365 -in $domain_name.csr -signkey $domain_name.key -out $domain_name.crt`` |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions