Skip to content

Instantly share code, notes, and snippets.

@chamons
Created March 23, 2017 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chamons/bff6fac1966f97d43302932fed2b8aea to your computer and use it in GitHub Desktop.
Save chamons/bff6fac1966f97d43302932fed2b8aea to your computer and use it in GitHub Desktop.
Unhandled Exception:
System.Net.WebException: Error: TrustFailure (CertificateUnknown) ---> Mono.Security.Interface.TlsException: CertificateUnknown
at Mono.AppleTls.AppleTlsContext.EvaluateTrust () [0x000a4] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.AppleTls.AppleTlsContext.RequirePeerTrust () [0x00008] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.AppleTls.AppleTlsContext.ProcessHandshake () [0x00046] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncProtocolRequest asyncRequest, Mono.Net.Security.AsyncOperationStatus status) [0x0002a] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (Mono.Net.Security.AsyncOperationStatus status) [0x0006b] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation () [0x0000d] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.AsyncProtocolRequest.StartOperation () [0x0003c] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.AsyncProtocolRequest.StartOperation (Mono.Net.Security.AsyncOperation operation) [0x00024] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Net.LazyAsyncResult lazyResult) [0x00057] in <eeece1ec382b4c71964830a7f9405a07>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <2bafe7ab5aa245f6a55a4fec6ada3d19>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Net.LazyAsyncResult lazyResult) [0x00078] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000c] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.Private.MonoSslStreamWrapper.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x00006] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) [0x0007b] in <eeece1ec382b4c71964830a7f9405a07>:0
at System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) [0x00073] in <eeece1ec382b4c71964830a7f9405a07>:0
--- End of inner exception stack trace ---
at System.Net.WebClient.DownloadDataInternal (System.Uri address, System.Net.WebRequest& request) [0x00072] in <eeece1ec382b4c71964830a7f9405a07>:0
at System.Net.WebClient.DownloadString (System.Uri address) [0x00020] in <eeece1ec382b4c71964830a7f9405a07>:0
at System.Net.WebClient.DownloadString (System.String address) [0x00016] in <eeece1ec382b4c71964830a7f9405a07>:0
at (wrapper remoting-invoke-with-check) System.Net.WebClient:DownloadString (string)
at someissue.MainClass.Main (System.String[] args) [0x00012] in <c772f2193b874eff81ecfe29163a7683>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Net.WebException: Error: TrustFailure (CertificateUnknown) ---> Mono.Security.Interface.TlsException: CertificateUnknown
at Mono.AppleTls.AppleTlsContext.EvaluateTrust () [0x000a4] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.AppleTls.AppleTlsContext.RequirePeerTrust () [0x00008] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.AppleTls.AppleTlsContext.ProcessHandshake () [0x00046] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncProtocolRequest asyncRequest, Mono.Net.Security.AsyncOperationStatus status) [0x0002a] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (Mono.Net.Security.AsyncOperationStatus status) [0x0006b] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation () [0x0000d] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.AsyncProtocolRequest.StartOperation () [0x0003c] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.AsyncProtocolRequest.StartOperation (Mono.Net.Security.AsyncOperation operation) [0x00024] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Net.LazyAsyncResult lazyResult) [0x00057] in <eeece1ec382b4c71964830a7f9405a07>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <2bafe7ab5aa245f6a55a4fec6ada3d19>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Net.LazyAsyncResult lazyResult) [0x00078] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000c] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.Private.MonoSslStreamWrapper.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x00006] in <eeece1ec382b4c71964830a7f9405a07>:0
at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) [0x0007b] in <eeece1ec382b4c71964830a7f9405a07>:0
at System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) [0x00073] in <eeece1ec382b4c71964830a7f9405a07>:0
--- End of inner exception stack trace ---
at System.Net.WebClient.DownloadDataInternal (System.Uri address, System.Net.WebRequest& request) [0x00072] in <eeece1ec382b4c71964830a7f9405a07>:0
at System.Net.WebClient.DownloadString (System.Uri address) [0x00020] in <eeece1ec382b4c71964830a7f9405a07>:0
at System.Net.WebClient.DownloadString (System.String address) [0x00016] in <eeece1ec382b4c71964830a7f9405a07>:0
at (wrapper remoting-invoke-with-check) System.Net.WebClient:DownloadString (string)
at someissue.MainClass.Main (System.String[] args) [0x00012] in <c772f2193b874eff81ecfe29163a7683>:0
make: *** [run] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment