搜索
bottom↓
回复: 7

请教一下大家,除了一年一换的免费ssl证书,还有什么便宜方便的证书?

[复制链接]

出0入0汤圆

发表于 2020-4-11 18:59:45 来自手机 | 显示全部楼层 |阅读模式
RT,https的证书,便宜又能长期使用的

出615入1076汤圆

发表于 2020-4-11 19:43:47 来自手机 | 显示全部楼层
本帖最后由 dukelec 于 2020-4-11 19:46 编辑

let's encrypt, 3 個月一簽,每次簽也很方便 調用一個  renew 命令即可,也可以用腳本自動 renew,不過每次 renew 都要把服務器程序譬如 Apache 關一下。

我今天剛 renew,這幾天第二次收到郵件提醒,還有 10 天過期。

let's encrypt 一個證書可以包含很多域名挺方便。
當然,主要看中的是它是免費的。

出0入0汤圆

 楼主| 发表于 2020-4-11 20:49:09 来自手机 | 显示全部楼层
dukelec 发表于 2020-4-11 19:43
let's encrypt, 3 個月一簽,每次簽也很方便 調用一個  renew 命令即可,也可以用腳本自動 renew,不過每次 ...

万网的那个一年一换

出0入0汤圆

发表于 2020-4-11 22:02:00 来自手机 | 显示全部楼层
最近也是被这个证书搞了好几天

出0入618汤圆

发表于 2020-4-11 22:15:06 | 显示全部楼层
letsencrypt,支持泛域名,3个月有效期,配置好以后续期是完全自动化的,省心。

出0入0汤圆

 楼主| 发表于 2020-4-11 23:04:33 来自手机 | 显示全部楼层
gzhuli 发表于 2020-4-11 22:15
letsencrypt,支持泛域名,3个月有效期,配置好以后续期是完全自动化的,省心。 ...

怎样玩的专家?win环境能这样玩吗?

出615入1076汤圆

发表于 2020-4-12 01:58:25 | 显示全部楼层
本帖最后由 dukelec 于 2020-4-12 02:01 编辑
daiqx 发表于 2020-4-11 23:04
怎样玩的专家?win环境能这样玩吗?


這是首次申請證書的命令,如果日後想增加,只要重新執行一下這條命令添加更多域名就可以,如果僅僅續約,只要執行 certbot renew 就可以了。
(certbot 是 letsencrypt 的配套軟件,可以官網下載,也可以用 linux 的包管理器安裝)
certbot 軟件會在本服務器啓動 https 的端口,並讓 letsencrypt 發數據到你申請的域名,如果能正確通信,就表示你擁有這些域名,就可以成功申請證書。
(所以執行命令的時候要關掉佔用 https 的程序,譬如 Apache)

用 certbot 申請證書比在網頁上點來點去方便多了,還能寫腳本自動化續約。
win10 的話不是可以跑 linux 程序嗎?你也可以試試,實在不行可以在虛擬機中操作,網卡橋接一下。


  1. dukelec ~ # certbot certonly --standalone -d dukelec.com -d www.dukelec.com -d d-l.io -d www.d-l.io -d blog.dukelec.com -d blog.d-l.io -d p.d-l.io -d e.d-l.io
  2. Saving debug log to /var/log/letsencrypt/letsencrypt.log
  3. Plugins selected: Authenticator standalone, Installer None

  4. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  5. You have an existing certificate that contains a portion of the domains you
  6. requested (ref: /etc/letsencrypt/renewal/dukelec.com.conf)

  7. It contains these names: dukelec.com, blog.d-l.io, blog.dukelec.com, d-l.io,
  8. p.d-l.io, www.d-l.io, www.dukelec.com

  9. You requested these names for the new certificate: dukelec.com, www.dukelec.com,
  10. d-l.io, www.d-l.io, blog.dukelec.com, blog.d-l.io, p.d-l.io, e.d-l.io.

  11. Do you want to expand and replace this existing certificate with the new
  12. certificate?
  13. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  14. (E)xpand/(C)ancel: E
  15. Renewing an existing certificate
  16. Performing the following challenges:
  17. http-01 challenge for e.d-l.io
  18. Waiting for verification...
  19. Cleaning up challenges

  20. IMPORTANT NOTES:
  21. - Congratulations! Your certificate and chain have been saved at:
  22.    /etc/letsencrypt/live/dukelec.com/fullchain.pem
  23.    Your key file has been saved at:
  24.    /etc/letsencrypt/live/dukelec.com/privkey.pem
  25.    Your cert will expire on 2020-01-31. To obtain a new or tweaked
  26.    version of this certificate in the future, simply run certbot
  27.    again. To non-interactively renew *all* of your certificates, run
  28.    "certbot renew"
  29. - If you like Certbot, please consider supporting our work by:

  30.    Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
  31.    Donating to EFF:                    https://eff.org/donate-le
复制代码

出0入0汤圆

 楼主| 发表于 2020-4-12 02:24:01 来自手机 | 显示全部楼层
如果在win server也有这种就好了………有空试下
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-4-18 19:17

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表