HiCA 免费泛域名证书- HiCA 通配符 SSL 证书 180 天,ACME 签发

804 浏览资源分享
1

一、HiCA官网

官网:https://www1.hi.cn/
文档:https://www1.hi.cn/docs/intro/

二、申请 HiCA 泛域名证书

1、先安装ACME,命令如下:

curl https://get.acme.sh -s | sh -s


备用:

curl https://gitcode.net/cert/cn-acme.sh/-/raw/master/install.sh?inline=false -s | sh -s

2、注册HiCA服务器

将下方命令当中的邮箱([email protected])修改您的真实邮箱,

acme.sh --register-account --accountemail \
[email protected] \
--server http://acme.hi.cn/directory

三、验证域名

1.采用 HTTP 验证申请证书

注意高亮位置的 <网站根目录绝对路径> 需要设置成正确路径

acme.sh --issue \
-d wzfou.com \
-d *.wzfou.com \
--webroot <网站根目录绝对路径> \
--days 150 \
--server https://acme.hi.cn/directory

2.DNS验证,以阿里云为例,首先是导入:

export Ali_Key="阿里云API KEY"
export Ali_Secret="阿里云API Secret"

然后是执行命令:

acme.sh --issue \
--dns dns_ali \
-d wzfou.com \
-d *.wzfou.com \
--days 150 \
--server https://acme.hi.cn/directory

分享到:
Qi 编辑问题 2022年11月16日
添加评论
写下您的答案。

Login

Welcome! Login in to your account

Remember me Lost your password?

Don't have account. Register

Lost Password

Register