Hi @Harshanand Wankhede ,
Thanks for reaching out.
I understand you are getting error while deploying the ASP.Net core applications with Docker over HTTPS
Docker needs a certificate to process HTTPS requests.
Below are the steps you required to deploy the ASP.net core with docker are:
- Create the certificate. Make sure to set the password to use the certificate with docker.
- Provide the certificate to the docker image.
Reference sample: https://github.com/dotnet/dotnet-docker/blob/main/samples/run-aspnetcore-https-development.md
https://learn.microsoft.com/en-us/aspnet/core/security/docker-compose-https?view=aspnetcore-6.0
Hope this will help.
Thanks,
Shweta
-----------------------------
Please remember to "Accept Answer" if answer helped you.