question

AmyMarty-6534 avatar image
0 Votes"
AmyMarty-6534 asked kobulloc-MSFT commented

Azure App Configuration: The request was aborted: Could not create SSL/TLS secure channel.

I am attempting to move the configuration for our web form reporting software to use Azure App Configuration. It works while on my local machine, but when I publish to our test environment, it returns a RequestFailedException: The request was aborted: Could not create SSL/TLS secure channel. I've upgrade all packages, and moved the solution to .NET 4.8. The problem occurs when attempting to navigate to the site, when the configBuilder attempts to get all values. It doesn't seem like anyone else has had quite this issue. So, any help on this would be greatly appreciated!

azure-app-configuration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AmyMarty-6534 avatar image
1 Vote"
AmyMarty-6534 answered kobulloc-MSFT commented

It turns out that because this was a legacy app we needed to add to the web.config the target framework in the http runtime tag in system.web. Per this solution: https://docs.microsoft.com/answers/answers/315169/view.html

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for posting the resolution!

0 Votes 0 ·
kobulloc-MSFT avatar image
0 Votes"
kobulloc-MSFT answered kobulloc-MSFT commented

There are a number of reasons why you might run into the "Could not create SSL/TLS secure channel" error but if it works on your local machine and not when you publish to your test environment, it sounds like you may be running into an issue where the operating system is setting the default security protocol for SSL/TLS connections (and that version is not supported by the App Configuration server).

There is another answer that goes into this in more detail:
Why can't I connect to Azure App Configuration...

If that ends up not being the issue, let me know so we can troubleshoot this further.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I checked the server and it's running with both Tls 1.2, and 1.3 enabled, anything less than that is disabled by default.

0 Votes 0 ·

In that case we'll need to do some troubleshooting. I'll reach out directly so that we can follow up and get more information.

1 Vote 1 ·