Skip to content

Commit c3efe5d

Browse files
authored
docs: add explanation for how to use non-system certificates (aquasecurity#9081)
1 parent 406c209 commit c3efe5d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/docs/references/troubleshooting.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@ Common mistakes include the following, depending on where you are pulling images
7878
$ TRIVY_INSECURE=true trivy image [YOUR_IMAGE]
7979
```
8080

81+
Alternatively, you can specify the location of your certificate using `SSL_CERT_FILE` or `SSL_CERT_DIR` environment variables.
82+
83+
```
84+
$ SSL_CERT_FILE=/path/to/cert trivy image [YOUR_IMAGE]
85+
```
86+
87+
```
88+
$ SSL_CERT_DIR=/path/to/certs trivy image [YOUR_IMAGE]
89+
```
90+
8191
### GitHub Rate limiting
8292
Trivy uses GitHub API for [VEX repositories](../supply-chain/vex/repo.md).
8393

0 commit comments

Comments
 (0)