I have created a certificate with Powershell:
New-SelfSignedCertificate -DnsName "localhost" -CertStoreLocation "cert:\LocalMachine\My"
I have copied the certificate to trusted root certification authorities
I have enabled certificate binding in IIS
Now if I access localhost from chrome I see the ssl connection correctly
however, if I start the connection from the web application I get the following error:
The SSL connection could not be established, see inner exception.
Request text: https://localhost/webservice/api/ImboundCall/?Telephone=5551234
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure
even with Postman same message