[GH-ISSUE #463] [Feature] 添加系统代理支持 #288

Closed
opened 2026-03-03 01:02:13 +03:00 by kerem · 2 comments
Owner

Originally created by @xzlosats111 on GitHub (Feb 21, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/463

功能描述
可以设置程序主动去访问代理服务器,通过代理服务器申请证书

动机
尝试使用谷歌证书,出现网络问题
get directory at 'https://dv.acme-v02.api.pki.goog/directory': Get "https://dv.acme-v02.api.pki.goog/directory": dial tcp 142.251.211.238:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
程序不会访问系统代理,开全局代理比较麻烦

替代方案
使用let's encrypt证书并没有什么问题,只是去试了试谷歌的证书,发现有网络问题
希望可以加个功能

Originally created by @xzlosats111 on GitHub (Feb 21, 2025). Original GitHub issue: https://github.com/certimate-go/certimate/issues/463 **功能描述** 可以设置程序主动去访问代理服务器,通过代理服务器申请证书 **动机** 尝试使用谷歌证书,出现网络问题 `get directory at 'https://dv.acme-v02.api.pki.goog/directory': Get "https://dv.acme-v02.api.pki.goog/directory": dial tcp 142.251.211.238:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.` 程序不会访问系统代理,开全局代理比较麻烦 **替代方案** 使用let's encrypt证书并没有什么问题,只是去试了试谷歌的证书,发现有网络问题 希望可以加个功能
kerem 2026-03-03 01:02:13 +03:00
Author
Owner

@fcwys commented on GitHub (Feb 24, 2025):

目前可以考虑使用环境变量实现:

  • Linux系统:
export http_proxy=“http代理地址:端口”
export https_proxy=“http代理地址:端口”
  • Windows系统:
set http_proxy=“http代理地址:端口”
set https_proxy=“http代理地址:端口”
<!-- gh-comment-id:2677338831 --> @fcwys commented on GitHub (Feb 24, 2025): 目前可以考虑使用环境变量实现: - Linux系统: ```bash export http_proxy=“http代理地址:端口” export https_proxy=“http代理地址:端口” ``` - Windows系统: ```cmd set http_proxy=“http代理地址:端口” set https_proxy=“http代理地址:端口” ```
Author
Owner
<!-- gh-comment-id:2788826642 --> @fudiwei commented on GitHub (Apr 9, 2025): > https://docs.certimate.me/docs/getting-started/configuration#http-proxy
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#288
No description provided.