trivy icon indicating copy to clipboard operation
trivy copied to clipboard

docs: add explanation for how to use non-system certificates

Open knqyf263 opened this issue 10 months ago • 5 comments

Description

The document should mention that the SSL_CERT_FILE or SSL_CERT_DIR environment variables can be used to specify the location of your certificate. https://pkg.go.dev/crypto/x509#SystemCertPool

Discussed in https://github.com/aquasecurity/trivy/discussions/8429

knqyf263 avatar Feb 24 '25 08:02 knqyf263

/assign

rnemeth90 avatar Feb 25 '25 10:02 rnemeth90

@knqyf263 Do you have a preference as to where I document these env vars? The docs directory is quite comprehensive and I'm not sure where this would be relevant.

rnemeth90 avatar Feb 28 '25 02:02 rnemeth90

You can add it here. https://trivy.dev/latest/docs/references/troubleshooting/#certification

knqyf263 avatar Feb 28 '25 07:02 knqyf263

Is this issue still open?

Ricky004 avatar Mar 27 '25 07:03 Ricky004

Yes, it is still open.

rnemeth90 avatar Mar 27 '25 09:03 rnemeth90

Can I take this issue?

yutatokoi avatar Jun 24 '25 05:06 yutatokoi

Yes, please

rnemeth90 avatar Jun 24 '25 12:06 rnemeth90

hello, is this issue still open? can i take it?

DicksenT avatar Jun 25 '25 15:06 DicksenT

I'm planning to submit the PR tonight.

yutatokoi avatar Jun 25 '25 21:06 yutatokoi