Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows.Security.Cryptography.Certificates.Certificate certificate = await GetClientCert();
- socket.Control.ClientCertificate = certificate;
- await socket.ConnectAsync(new Windows.Networking.HostName(SocksParameters.Host), SocksParameters.Port, SocketProtectionLevel.Tls12);
- An exception of type 'System.Exception' occurred in mscorlib.ni.dll but was not handled in user code
- Additional information: The certificate's CN name does not match the passed value. (Exception from HRESULT: 0x800B010F)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement