I am having a similar issue.
IIS Express works on Win10,
but fails on Win11 with ERR_CONNECTION_RESET
.
Testing with OpenSSL:
openssl s_client -connect %Url% -tls1_3
on Win10 shows "no peer certificate available".
openssl s_client -connect %Url% -tls1_3
on Win11 shows a certificate.
@Kedar Sane , using SslRequireCert
did not correct the issue.
applicationhost.config
<security>
<!-- <access sslFlags="None" /> -->
<!-- <access sslFlags="Ssl, SslNegotiateCert" /> -->
<access sslFlags="Ssl, SslNegotiateCert, SslRequireCert" />
<authentication>
<anonymousAuthentication enabled="true" userName="" />
<basicAuthentication enabled="false" />
<clientCertificateMappingAuthentication enabled="false" />
<digestAuthentication enabled="false" />
<iisClientCertificateMappingAuthentication enabled="false" />
<windowsAuthentication enabled="false">
<providers>
<add value="Negotiate" />
<add value="NTLM" />
</providers>
</windowsAuthentication>
</authentication>
...
Other things I have tried:
- WebApp is configured to use wrong ports (44300-44399).
- IIS Express can't access Computer-Certs.
- OpenSSL shows Certs on running WebApp.
- Force TLS 1.2.
- Configure IIS Express to do "during handshake" cert-negotiation.
- I've already read that TLS 1.3 does not allow post-handshake certificate negotiation nor certificate re-negotiation.
- ** As per this question-thread, this is what I'm trying to figure out now. As mentioned above, setting
SslRequireCert
did not work.