https://bugs.winehq.org/show_bug.cgi?id=52385
jedi95@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jedi95@gmail.com
--- Comment #1 from jedi95@gmail.com --- This problem does not occur on Ubuntu 21.10 using wine-7.0 (stable)
It occurs on Fedora 34 using both wine-7.0 (stable) and wine-7.2 (staging)
An exception is thrown when executing the following code:
string baseUrl = "https://update.crysiswarsmp.com/"; using (System.Net.WebClient client = new System.Net.WebClient()) { client.DownloadFile(baseUrl + "/launcher.txt", "launcher.txt.new"); }
ex.Message: Error: TrustFailure (Authentication failed, see inner exception.)
ex.InnerException: System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Btls.MonoBtlsException: Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED at /vagrant/mono/external/boringssl/ssl/handshake_client.c:1132 at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00048] in <0c924620d2cd4b85a989ca168d44cf08>:0 at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <0c924620d2cd4b85a989ca168d44cf08>:0 at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool) at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <0c924620d2cd4b85a989ca168d44cf08>:0 at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <0c924620d2cd4b85a989ca168d44cf08>:0 --- End of inner exception stack trace --- at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Boolean runSynchronously, Mono.Net.Security.MonoSslAuthenticationOptions options, System.Threading.CancellationToken cancellationToken) [0x00262] in <0c924620d2cd4b85a989ca168d44cf08>:0 at Mono.Net.Security.MonoTlsStream.CreateStream (System.Net.WebConnectionTunnel tunnel, System.Threading.CancellationToken cancellationToken) [0x0016a] in <0c924620d2cd4b85a989ca168d44cf08>:0 at System.Net.WebConnection.CreateStream (System.Net.WebOperation operation, System.Boolean reused, System.Threading.CancellationToken cancellationToken) [0x001ba] in <0c924620d2cd4b85a989ca168d44cf08>:0
ex.StackTrace: at System.Net.WebConnection.CreateStream (System.Net.WebOperation operation, System.Boolean reused, System.Threading.CancellationToken cancellationToken) [0x0021a] in <0c924620d2cd4b85a989ca168d44cf08>:0 at System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x00141] in <0c924620d2cd4b85a989ca168d44cf08>:0 at System.Net.WebOperation.Run () [0x0009a] in <0c924620d2cd4b85a989ca168d44cf08>:0 at System.Net.WebCompletionSource`1[T].WaitForCompletion () [0x00094] in <0c924620d2cd4b85a989ca168d44cf08>:0 at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <0c924620d2cd4b85a989ca168d44cf08>:0 at System.Net.HttpWebRequest.GetResponse () [0x00016] in <0c924620d2cd4b85a989ca168d44cf08>:0 at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in <0c924620d2cd4b85a989ca168d44cf08>:0 at System.Net.WebClient.DownloadBits (System.Net.WebRequest request, System.IO.Stream writeStream) [0x000e6] in <0c924620d2cd4b85a989ca168d44cf08>:0 at System.Net.WebClient.DownloadFile (System.Uri address, System.String fileName) [0x00088] in <0c924620d2cd4b85a989ca168d44cf08>:0 at System.Net.WebClient.DownloadFile (System.String address, System.String fileName) [0x00008] in <0c924620d2cd4b85a989ca168d44cf08>:0 at (wrapper remoting-invoke-with-check) System.Net.WebClient.DownloadFile(string,string) at Crysis_Wars_Launcher.ValidationConfig.fetchConfig () [0x00017] in <8b45396f6351469a9905f8dde4b2d8be>:0