I am calling a third party service and when I ask for a response it throws out an exception that says
\"Authentication failed because the remote part
I had a limitation of using TLS 1.2 only and more than anything else the resource address (URL/address) was local. So above solution didn't work for me. After closely analysing web.config I tried using for local URLs and miracle happened!
Please note I was already using setting for accessing other external URLs so not having this setup was not allowed either. Hope this helps!