Epic Fail - A Call to SSPI failed, see inner exception. Mono 5.4.1.6-9

**Sonarr version **: 2.0.0.5085
**Mono version **: 5.4.1.6-9
OS: Synology DSM 6.1.4 Update 5
Debug logs: Log-File
(Make sure debug logging is enabled in settings and post the full log to hastebin/pastebin/dropbox/google drive or something similar, do not post them directly here)
Description of issue: I tried to add my certificate to Sonarr so I can use SSL. I tried first with Mono 4.6.2.7-8 but got the same problem as this: Old Error
I read somewhere it’s because of old mono version and gave up.
Now I got Mono 5.4.1.6-9 and I got a new Epic Fail.

My certificate works on the DSM without problems.

AFAIK mono doesn’t support intermediate certificates for SSL, at least it didn’t last I checked. You’d be best off using a reverse proxy (Synology has one) at this time.

I don’t like to have a reverse proxy just because it doesn’t work with Mono/Sonarr. All other software works (DSM itself, sabnzbd, …)

I was able to add intermidate certificates (in my case the one from my Certificate creator) to the mono and the machine truststore according to this. but I still get the error

It’s not the truststore that’s the issue, it’s mono’s implementation of http.sys (what Sonarr under Windows uses) that doesn’t properly support intermediate certificates and in addition didn’t support newer TLS (I’m not sure if that has changed).

The reverse proxy on synology devices is the same web server that hosts the DSM web app, but regardless, a reverse proxy is our recommendation for SSL support in mono at this time.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.