1 月 242020
 

有个免费的https证书供应商(Let’s Encrypt)。网上其实有个acme.sh可以自动申请,续签证书,以前申请过www.hmouse.cn,最近由于需求需要申请个新的域名,反而不会弄了。所以写个文档记录下。

其实acme.sh的验证比较麻烦,推荐是用CloudFlare_API就可以自动续签。不需要网站验证和dns验证。

其实也可以看看我的www.hmouse.cn的account.conf  和已经有的 配置,就知道了。

推荐url:https://becoder.org/acme-sh-cloudflare-free-wildcard-ssl-lets-encrypt/

命令如下:

export CF_Key=”Your_CloudFlare_API_Key”
export CF_Email=”Your_CloudFlare_Account@example.com”

/root/.acme.sh/acme.sh –issue -d “YourDomainName.com” -d “*.YourDomainName.com” –dns dns_cf

 

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny