Add Custom Certificates to Trusted Storage of Docker Images
Last updated: 1 minute read.
To add your custom Certificate Authority(CA) to your docker containers. You can mount your CA certificate directly into /etc/ssl/certs
folder.
Docker:
docker run -it tykio/tyk-gateway:latest \
-v $(pwd)/myCA.pem:/etc/ssl/certs/myCA.pem
Kubernetes - using Helm Chart and secrets:
extraVolumes:
- name: self-signed-ca
secret:
secretName: self-signed-ca-secret
extraVolumeMounts:
- name: self-signed-ca
mountPath: "/etc/ssl/certs/myCA.pem"
subPath: myCA.pem
Contact us to learn more: