mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #462] [Bug] 申请的通配符证书不包含根证书,导致根域名使用浏览器提示不安全 #287
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#287
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 @cn-cam on GitHub (Feb 21, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/462
描述问题
申请的通配符证书不包含根证书, 根域名使用浏览器提示不安全
复现步骤
复现该问题的步骤:
期望的结果
正确的应该是根域名也包含在内可以使用的
截图
环境
其他信息
在此处添加关于该问题的任何其他信息。
@fudiwei commented on GitHub (Feb 21, 2025):
*.example.com通配符证书不匹配example.com,这是符合 SSL 规范的,你需要单独申请或者添加多个域名。你可能会遇到有些证书厂商会:
*.example.com,厂商向 CA 申请时自动帮你转换成*.example.com, example.com多域名证书;example.com,厂商向 CA 申请时自动帮你转换成example.com, www.example.com多域名证书。这只是一种方便用户、同时又防止扯皮的“取巧”做法(毕竟很多是收费证书,签发是有成本的),签发出来的实际是多域名证书,并不是只签发
*.example.com却能匹配上example.com。