Skip to content

docs: add note about chain_path requiring a full certificate chain#471

Open
Didr wants to merge 1 commit into
SUNET:mainfrom
sirosfoundation:docs/add-cert-chain-info
Open

docs: add note about chain_path requiring a full certificate chain#471
Didr wants to merge 1 commit into
SUNET:mainfrom
sirosfoundation:docs/add-cert-chain-info

Conversation

@Didr

@Didr Didr commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

It is not always obvious that the root certificate should be included in the chain.

@sonarqubecloud

Copy link
Copy Markdown

Comment thread pkg/pki/keyloader.go
// File-based configuration
PrivateKeyPath string `yaml:"private_key_path" validate:"required_without=PKCS11"` // Path to PEM key file
ChainPath string `yaml:"chain_path"` // Path to certificate chain (optional)
ChainPath string `yaml:"chain_path"` // Path to certificate chain (optional), this should be a full chain including the root certificate.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's pretty common is to include intermidiate certs that not necessary part of the cert store. If the cert is not issued by a trused CA the root may not be part of the cert store and therefore needs to be included in the chain. What do you have in mind here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants