Jump to content

SSL doesn't appear to work


kjp4756

Recommended Posts

kjp4756

I've decided to enable SSL on emby server and map port 8920 from my router.  When I try to access emby on the SSL port my web browser downloads a file called "download" and I get some weird errors in the server log.  Here's a snippet and I'll also attach the full log.

 

 

2016-02-27 09:43:01.7577 Error HttpServer: Error in ProcessAccept
    *** Error Report ***
    Version: 3.0.5871.0
    Command line: /usr/local/lib/emby-server/MediaBrowser.Server.Mono.exe -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe -programdata /var/db/mediabrowser
    Operating system: Unix 9.3.31.0
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: /var/db/mediabrowser
    Mono: 4.2.2 (Stable 4.2.2.10/7b87787 Sun Feb 7 05:10:35 UTC 2016)
    Application Path: /usr/local/lib/emby-server/MediaBrowser.Server.Mono.exe
    The authentication or decryption has failed.
    System.IO.IOException
     at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (IAsyncResult asyncResult) <0x815fc8860 + 0x001ab> in <filename unknown>:0
     at System.Net.Security.SslStream.EndAuthenticateAsServer (IAsyncResult asyncResult) <0x81c3054a0 + 0x00042> in <filename unknown>:0
     at System.Net.Security.SslStream.AuthenticateAsServer (System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, Boolean clientCertificateRequired, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation) <0x81c3019f0 + 0x00055> in <filename unknown>:0
     at System.Net.Security.SslStream.AuthenticateAsServer (System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate) <0x81c3019c0 + 0x00022> in <filename unknown>:0
     at SocketHttpListener.Net.HttpConnection..ctor (ILogger logger, System.Net.Sockets.Socket sock, SocketHttpListener.Net.EndPointListener epl, Boolean secure, System.Security.Cryptography.X509Certificates.X509Certificate cert, System.String connectionId) <0x8117c9f60 + 0x00296> in <filename unknown>:0
     at SocketHttpListener.Net.EndPointListener.ProcessAccept (System.Net.Sockets.Socket accepted) <0x8117c9b00 + 0x00123> in <filename unknown>:0
    InnerException: Mono.Security.Protocol.Tls.TlsException
    The authentication or decryption has failed.
     at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (IAsyncResult asyncResult) <0x815f12aa0 + 0x00143> in <filename unknown>:0
     at Mono.Security.Protocol.Tls.SslServerStream.EndNegotiateHandshake (IAsyncResult asyncResult) <0x81c3065e0 + 0x00031> in <filename unknown>:0
     at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) <0x815fba260 + 0x0008a> in <filename unknown>:0
    
2016-02-27 09:43:57.7648 Error HttpServer: Error in ProcessAccept
    *** Error Report ***
    Version: 3.0.5871.0
    Command line: /usr/local/lib/emby-server/MediaBrowser.Server.Mono.exe -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe -programdata /var/db/mediabrowser
    Operating system: Unix 9.3.31.0
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: /var/db/mediabrowser
    Mono: 4.2.2 (Stable 4.2.2.10/7b87787 Sun Feb 7 05:10:35 UTC 2016)
    Application Path: /usr/local/lib/emby-server/MediaBrowser.Server.Mono.exe
    The authentication or decryption has failed.
    System.IO.IOException
     at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (IAsyncResult asyncResult) <0x815fc8860 + 0x001ab> in <filename unknown>:0
     at System.Net.Security.SslStream.EndAuthenticateAsServer (IAsyncResult asyncResult) <0x81c3054a0 + 0x00042> in <filename unknown>:0
     at System.Net.Security.SslStream.AuthenticateAsServer (System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, Boolean clientCertificateRequired, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation) <0x81c3019f0 + 0x00055> in <filename unknown>:0
     at System.Net.Security.SslStream.AuthenticateAsServer (System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate) <0x81c3019c0 + 0x00022> in <filename unknown>:0
     at SocketHttpListener.Net.HttpConnection..ctor (ILogger logger, System.Net.Sockets.Socket sock, SocketHttpListener.Net.EndPointListener epl, Boolean secure, System.Security.Cryptography.X509Certificates.X509Certificate cert, System.String connectionId) <0x8117c9f60 + 0x00296> in <filename unknown>:0
     at SocketHttpListener.Net.EndPointListener.ProcessAccept (System.Net.Sockets.Socket accepted) <0x8117c9b00 + 0x00123> in <filename unknown>:0
    InnerException: System.NullReferenceException
    Object reference not set to an instance of an object
     at Mono.Security.Protocol.Tls.Handshake.Server.TlsServerHello.ProcessAsTls1 () <0x81c306de0 + 0x001af> in <filename unknown>:0
     at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () <0x815f0b320 + 0x00062> in <filename unknown>:0
     at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process ()
     at Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (HandshakeType handshakeType, System.AsyncCallback callback, System.Object state) <0x815f0ab90 + 0x0003d> in <filename unknown>:0
     at Mono.Security.Protocol.Tls.RecordProtocol.SendRecord (HandshakeType type) <0x81c306880 + 0x00025> in <filename unknown>:0
     at Mono.Security.Protocol.Tls.SslServerStream.EndNegotiateHandshake (IAsyncResult asyncResult) <0x81c3065e0 + 0x00075> in <filename unknown>:0
     at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) <0x815fba260 + 0x0008a> in <filename unknown>:0
    
2016-02-27 09:43:57.7654 Error HttpServer: Error in ProcessAccept
    *** Error Report ***
    Version: 3.0.5871.0
    Command line: /usr/local/lib/emby-server/MediaBrowser.Server.Mono.exe -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe -programdata /var/db/mediabrowser
    Operating system: Unix 9.3.31.0
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: /var/db/mediabrowser
    Mono: 4.2.2 (Stable 4.2.2.10/7b87787 Sun Feb 7 05:10:35 UTC 2016)
    Application Path: /usr/local/lib/emby-server/MediaBrowser.Server.Mono.exe
    The authentication or decryption has failed.
    System.IO.IOException
     at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (IAsyncResult asyncResult) <0x815fc8860 + 0x001ab> in <filename unknown>:0
     at System.Net.Security.SslStream.EndAuthenticateAsServer (IAsyncResult asyncResult) <0x81c3054a0 + 0x00042> in <filename unknown>:0
     at System.Net.Security.SslStream.AuthenticateAsServer (System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, Boolean clientCertificateRequired, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation) <0x81c3019f0 + 0x00055> in <filename unknown>:0
     at System.Net.Security.SslStream.AuthenticateAsServer (System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate) <0x81c3019c0 + 0x00022> in <filename unknown>:0
     at SocketHttpListener.Net.HttpConnection..ctor (ILogger logger, System.Net.Sockets.Socket sock, SocketHttpListener.Net.EndPointListener epl, Boolean secure, System.Security.Cryptography.X509Certificates.X509Certificate cert, System.String connectionId) <0x8117c9f60 + 0x00296> in <filename unknown>:0
     at SocketHttpListener.Net.EndPointListener.ProcessAccept (System.Net.Sockets.Socket accepted) <0x8117c9b00 + 0x00123> in <filename unknown>:0
    InnerException: Mono.Security.Protocol.Tls.TlsException
    The authentication or decryption has failed.
     at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (IAsyncResult asyncResult) <0x815f12aa0 + 0x00143> in <filename unknown>:0
     at Mono.Security.Protocol.Tls.SslServerStream.EndNegotiateHandshake (IAsyncResult asyncResult) <0x81c3065e0 + 0x00031> in <filename unknown>:0
     at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) <0x815fba260 + 0x0008a> in <filename unknown>:0
    
2016-02-27 09:47:34.4906 Error HttpServer: Error in ProcessAccept
    *** Error Report ***
    Version: 3.0.5871.0
    Command line: /usr/local/lib/emby-server/MediaBrowser.Server.Mono.exe -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe -programdata /var/db/mediabrowser
    Operating system: Unix 9.3.31.0
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: /var/db/mediabrowser
    Mono: 4.2.2 (Stable 4.2.2.10/7b87787 Sun Feb 7 05:10:35 UTC 2016)
    Application Path: /usr/local/lib/emby-server/MediaBrowser.Server.Mono.exe
    The authentication or decryption has failed.
    System.IO.IOException
     at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (IAsyncResult asyncResult) <0x815fc8860 + 0x001ab> in <filename unknown>:0
     at System.Net.Security.SslStream.EndAuthenticateAsServer (IAsyncResult asyncResult) <0x81c3054a0 + 0x00042> in <filename unknown>:0
     at System.Net.Security.SslStream.AuthenticateAsServer (System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, Boolean clientCertificateRequired, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation) <0x81c3019f0 + 0x00055> in <filename unknown>:0
     at System.Net.Security.SslStream.AuthenticateAsServer (System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate) <0x81c3019c0 + 0x00022> in <filename unknown>:0
     at SocketHttpListener.Net.HttpConnection..ctor (ILogger logger, System.Net.Sockets.Socket sock, SocketHttpListener.Net.EndPointListener epl, Boolean secure, System.Security.Cryptography.X509Certificates.X509Certificate cert, System.String connectionId) <0x8117c9f60 + 0x00296> in <filename unknown>:0
     at SocketHttpListener.Net.EndPointListener.ProcessAccept (System.Net.Sockets.Socket accepted) <0x8117c9b00 + 0x00123> in <filename unknown>:0
    InnerException: Mono.Security.Protocol.Tls.TlsException
    The authentication or decryption has failed.
     at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (IAsyncResult asyncResult) <0x815f12aa0 + 0x00143> in <filename unknown>:0
     at Mono.Security.Protocol.Tls.SslServerStream.EndNegotiateHandshake (IAsyncResult asyncResult) <0x81c3065e0 + 0x00031> in <filename unknown>:0
     at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) <0x815fba260 + 0x0008a> in <filename unknown>:0

 

server-log.txt

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...