Enterprises often have a custom CA that their machines are provisioned to trust, which gets used for any custom certs they make. Thinking something like a new flag /ExportTrustedCertificates which will check the cert store on the VM and copy public keys to the Dockerfile, so the container trusts the enterprise CA.
For each cert to trust in the Docker image, the Dockerfile needs some PowerShell like this:
Enterprises often have a custom CA that their machines are provisioned to trust, which gets used for any custom certs they make. Thinking something like a new flag
/ExportTrustedCertificates
which will check the cert store on the VM and copy public keys to the Dockerfile, so the container trusts the enterprise CA.For each cert to trust in the Docker image, the Dockerfile needs some PowerShell like this: