爱意满满的作品展示区。
tinkerer

ZeroSSL IP 证书工具

  •  1
     
  •   tinkerer ·
    tinkernels · Apr 23, 2022 · 5576 views
    This topic created in 1480 days ago, the information mentioned may be changed or developed.

    前文: https://www.v2ex.com/t/847936

    既然有可以免费申请的 IP 证书, 那就用golang写个工具来自动化证书申请和更新。
    使用 ZeroSSL 官方 REST API 实现。

    github: https://github.com/tinkernels/zerossl-ip-cert

    P.S. 由于我目前还没遇到证书要更新的情况,所以证书更新功能未测试。

    14 replies    2023-11-21 09:15:33 +08:00
    sheeta
        1
    sheeta  
       Apr 23, 2022
    sheeta
        2
    sheeta  
       Apr 23, 2022
    @sheeta 忽略,不确定 acme 是否支持 IP 证书
    Acoffice
        3
    Acoffice  
       Apr 23, 2022
    caddy2
    docx
        4
    docx  
       Apr 23, 2022 via iPhone   ❤️ 1
    vwxc
        5
    vwxc  
       Apr 23, 2022 via Android   ❤️ 1
    @docx zerossl 没开放 acme 的 ip 证书接口
    tinkerer
        6
    tinkerer  
    OP
       Apr 23, 2022
    @vwxc 是这样的。
    docx
        7
    docx  
       Apr 23, 2022 via iPhone
    @vwxc 确实,acme 支持,但 ca 不开放
    tinkerer
        8
    tinkerer  
    OP
       Apr 25, 2022
    @Acoffice Caddy 自动证书在指定端口时就会禁用,也就是无法自动获取 IP 证书。
    refer: https://caddyserver.com/docs/automatic-https#activation
    LnTrx
        9
    LnTrx  
       Jul 4, 2022
    感谢,有用
    tinkerer
        10
    tinkerer  
    OP
       Jul 4, 2022
    @LnTrx 目前已经实测可以自动更新证书,放心使用
    LnTrx
        11
    LnTrx  
       Jul 4, 2022
    @tinkerer 个人建议写一个结合具体案例的配置教程。虽然我走通了,但感觉现有的文档对于小白的门槛很高。
    tinkerer
        12
    tinkerer  
    OP
       Jul 5, 2022
    @LnTrx 那得等我有时间再说了,或者你可以发 PR.
    ThirdFlame
        13
    ThirdFlame  
       Nov 20, 2023
    用这个工具 也突破不了免费账号只能签发三个证书的限制把(不能删除 不能 renew )
    tinkerer
        14
    tinkerer  
    OP
       Nov 21, 2023
    @ThirdFlame 是的,zerossl 把原来删除证书的 API 删除了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   925 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 20:30 · PVG 04:30 · LAX 13:30 · JFK 16:30
    ♥ Do have faith in what you're doing.