mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 05:05:56 +03:00
[GH-ISSUE #612] 建议本地部署路径不要使用/etc/ssl/certs #406
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#406
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 @imaxwen on GitHub (Apr 14, 2025).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/612
软件版本 / Release Version
v0.3.7
问题描述 / Description
本地部署节点,WebUI中的部署路径的默认值是
/etc/ssl/certs, 这个目录在alpine容器中,也用来存储ca-certificates.如果将
/etc/ssl/certs目录挂载到本地,比如本地部署后将证书加载指nginx中,或者直接将此目录挂载指Nginx容器的证书路径。会导致两种场景的问题:
1、如果
/etc/ssl/certs挂载的本地路径原本有文件,会覆盖容器中的目录,导致ca证书丢失。2、如果本地挂载路径为空,会导致容器中的ca证书相关大量文件被挂载出来,但实际是无用的,还可能导致文件被修改,ca证书损坏等隐患。
建议:
将本地部署的默认路径修改为:
/etc/ssl/certs之外的目录,比如:/etc/certs其他 / Miscellaneous
No response