WEBSITE_LOAD_CERTIFICATES makes SSL work on Azure #439
Closed
anders-marten
started this conversation in
General
Replies: 1 comment
-
|
Hi Anders! We usually recommend loading the certificate from Azure KeyVault, and when doing so, this should not be an issue. Found a blogpost on the topic (specifically for Active Login) with the same solution as yours :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Standalone.MvcSample was working fine locally but did not work when deployed on Azure.
There was a problem with the SSL connection to BankID and I got the error: "System.Net.Http.HttpRequestException: The SSL connection could not be established...".
After some searching and trying I found a solution: Add WEBSITE_LOAD_CERTIFICATES = * to the App Service configuration.
Here are some more reading about the issue:
https://azure.microsoft.com/en-us/blog/using-certificates-in-azure-websites-applications/
https://learn.microsoft.com/en-us/azure/app-service/configure-ssl-certificate-in-code
https://stackoverflow.com/questions/48028690/ssl-tls-connections-not-working-when-deployed-as-azure-app-service
Beta Was this translation helpful? Give feedback.
All reactions