I am wondering that is there any good way to import the certificate to container from the host(certificate is not built-in the image)? Any solution for both Linux and Windows container?
Here is a possible solution for Linux container/host from other's post I have found.
P.S. The certificate is not with the code. I don't think it is a good idea to put the certificate with the code, especially the private key. Although, the certificate could be installed to image via docker build flow in this case.