Open dmgeurts opened 10 months ago
It looks like the following may be needed:
Mount the host ca-certificates to the image docker-compose.yml
:
services:
ioc2rpz:
volumes:
- /usr/local/share/ca-certificates:/usr/local/share/ca-certificates
command: /usr/sbin/update-ca-certificates
But so far the CA still isn't trusted.
Some inspiration taken from here: https://stackoverflow.com/questions/42292444/how-do-i-add-a-ca-root-certificate-inside-a-docker-image
Problem solved by connecting to the image and manually installing ca-certificates
and then running update-ca-certificates
.
Would be a good addition to add these to the image so that CA certs added to the host can be included as trusted in the ioc2rpz service.
How can I get ioc2rpz to trust the internally signed certificate? The root CA was added to the host cert store and the root CA is also listed at:
/opt/ioc2rpz/cfg/ipa_root_ca.crt