C
C#4w ago
cashen95

✅ SSL Error on ASP.Net

I Have a simple ASP.net api with a SignalR hub running, when i try to connect to the hub from a windows app (also running locally) im getting an SSL error (image attached). Ive tried resetting the dev certs already but gotten no where. Any thoughts on next steps?
No description
1 Reply
Lex Li
Lex Li4w ago
RemoteCertificateNameMismatch is clear the cause. The host name in your URL doesn't match the CN/DNS names of the certificate presented to the caller. Resetting the dev certs doesn't help and that's expected, as you need to revise the URL or completely switch from the default test certificate to your own. But not a small topic if you never work on certificates/HTTPS before.

Did you find this page helpful?