How to install root certificate in aspnet:3.0 base image for windows container

  asp.net-core-3.0, docker, windows

I am hosting two windows containers from a Windows 2019 servers and both are running in https. When my Web URL container tried to make a call to the API container. It didn’t work and when I got inside the Web container and run the curl command to my API web site and I received the following error.

(77) schannel: next InitializeSecurityContext failed: SEC_E_UNTRUSTED_ROOT (0x80090325) – The certificate chain was issued by an authority that is not trusted.

I am trying to find out how to import the root certificate to my aspnet:3.0 base image.

Source: Windows Questions

LEAVE A COMMENT