mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #476] [Bug] 申请中文域名证书报错 #298
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#298
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aleaio on GitHub (Mar 3, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/476
描述问题
申请Punycode 格式的中文域名证书报错:
发现是因为ACME不支持Punycode格式的域名,如:
xn--0zwm56d.test.com。故使用原始Unicode编码的域名或者urlencode编码的域名发现无法直接输入,如测试.test.com、%E6%B5%8B%E8%AF%95.test.com,certimate面板上会出现:请输入正确的域名复现步骤
复现该问题的步骤:
acme: error: 400 :: POST :: https://dv.acme-v02.api.pki.goog/new-order :: urn:ietf:params:acme:error:rejectedIdentifier :: Problem(s) occurred while validating identifiers within the new-order request, see the subproblems field for specifics., problem: "urn:ietf:params:acme:error:rejectedIdentifier" :: Punycode labels are not supported.期望的结果
可以在申请中直接输入中文,申请中文域名
截图
如有可能,请添加截图以帮助解释问题。
环境
其他信息
在此处添加关于该问题的任何其他信息。
@fudiwei commented on GitHub (Mar 3, 2025):
我注意你用的是 GTS,我不确定它是否支持 IDN,有相关文档吗?
而 Let's Encrypt 的话必须转换成 Punycode 形式。
@aleaio commented on GitHub (Mar 3, 2025):
感谢答疑!
好像GTS确实是不支持IDN,那这样的话可以在申请证书的时候选择证书颁发机构嘛?
@fudiwei commented on GitHub (Mar 4, 2025):
目前只能全局设置 CA。后续会支持单独设置 CA。