mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 13:15:55 +03:00
[GH-ISSUE #486] [Bug] 生成的私钥文件与证书不匹配 #308
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#308
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 @czjge on GitHub (Mar 6, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/486
描述问题
生成的私钥文件与证书不匹配
提示:nginx: [emerg] SSL_CTX_use_PrivateKey("/.../private.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
环境
@fudiwei commented on GitHub (Mar 6, 2025):
咋部署的?
@czjge commented on GitHub (Mar 6, 2025):
docker部署,用了一段时间了,之前都没问题
@fudiwei commented on GitHub (Mar 6, 2025):
我是说证书咋部署到 nginx 上的?
@czjge commented on GitHub (Mar 6, 2025):
SSH 部署
@fudiwei commented on GitHub (Mar 6, 2025):
奇怪…… 😕
先检查一下你部署路径的证书文件和私钥文件内容有没有损坏吧,以及文件最后修改时间看一下和部署时间对不对得上。
@czjge commented on GitHub (Mar 6, 2025):
没有损坏,时间也对的上。。。
@fudiwei commented on GitHub (Mar 6, 2025):
无法复现问题 😕
Issue 先开着看看其他人有没有类似的情况没吧。