{"action":"created","issue":{"url":"https://api.github.com/repos/duplicati/duplicati/issues/1544","repository_url":"https://api.github.com/repos/duplicati/duplicati","labels_url":"https://api.github.com/repos/duplicati/duplicati/issues/1544/labels{/name}","comments_url":"https://api.github.com/repos/duplicati/duplicati/issues/1544/comments","events_url":"https://api.github.com/repos/duplicati/duplicati/issues/1544/events","html_url":"https://github.com/duplicati/duplicati/issues/1544","id":126858635,"number":1544,"title":"Issues with certificate","user":{"login":"Energy1190","id":16718510,"avatar_url":"https://avatars.githubusercontent.com/u/16718510?v=3","gravatar_id":"","url":"https://api.github.com/users/Energy1190","html_url":"https://github.com/Energy1190","followers_url":"https://api.github.com/users/Energy1190/followers","following_url":"https://api.github.com/users/Energy1190/following{/other_user}","gists_url":"https://api.github.com/users/Energy1190/gists{/gist_id}","starred_url":"https://api.github.com/users/Energy1190/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Energy1190/subscriptions","organizations_url":"https://api.github.com/users/Energy1190/orgs","repos_url":"https://api.github.com/users/Energy1190/repos","events_url":"https://api.github.com/users/Energy1190/events{/privacy}","received_events_url":"https://api.github.com/users/Energy1190/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-15T11:50:49Z","updated_at":"2016-03-13T13:54:19Z","closed_at":null,"body":"Hi, I am trying to to run a backup in s3 compliant storage. On what I receive an error:\r\n\r\nOperation List with file  attempt 5 of 5 failed with message: A WebException with status SendFailure was thrown. => Amazon.Runtime.AmazonServiceException: A WebException with status SendFailure was thrown. ---> System.Net.WebException: Error: SendFailure (Error writing headers) ---> System.Net.WebException: Error writing headers ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010f\r\n  at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (IAsyncResult asyncResult) <0x403b2590 + 0x000f7> in <filename unknown>:0\r\n  at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (IAsyncResult ar, Boolean ignoreEmpty) <0x403b24e0 + 0x0002b> in <filename unknown>:0\r\n  at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (IAsyncResult result) <0x403ad290 + 0x0020f> in <filename unknown>:0\r\n  --- End of inner exception stack trace ---\r\n  at System.Net.WebConnection.EndWrite (System.Net.HttpWebRequest request, Boolean throwOnError, IAsyncResult result) <0x403c6bf0 + 0x00207> in <filename unknown>:0\r\n  at System.Net.WebConnectionStream+<SetHeadersAsync>c__AnonStorey1.<>m__0 (IAsyncResult r) <0x403c6550 + 0x0012b> in <filename unknown>:0\r\n  --- End of inner exception stack trace ---\r\n  --- End of inner exception stack trace ---\r\n  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x4039d060 + 0x00197> in <filename unknown>:0\r\n  at System.Net.HttpWebRequest.GetResponse () <0x40396a10 + 0x00053> in <filename unknown>:0\r\n  at Amazon.Runtime.Internal.HttpRequest.GetResponse () <0x403966f0 + 0x00043> in <filename unknown>:0\r\n  --- End of inner exception stack trace ---\r\n  at Amazon.Runtime.Internal.WebExceptionHandler.HandleException (IExecutionContext executionContext, System.Net.WebException exception) <0x403c9c30 + 0x00247> in <filename unknown>:0\r\n  at Amazon.Runtime.Internal.ExceptionHandler`1[T].Handle (IExecutionContext executionContext, System.Exception exception) <0x403c9bb0 + 0x00075> in <filename unknown>:0\r\n  at Amazon.Runtime.Internal.ErrorHandler.ProcessException (IExecutionContext executionContext, System.Exception exception) <0x403c9730 + 0x001d4> in <filename unknown>:0\r\n  at Amazon.Runtime.Internal.ErrorHandler.InvokeSync (IExecutionContext executionContext) <0x40389510 + 0x0006b> in <filename unknown>:0\r\n  at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (IExecutionContext executionContext) <0x4036fc00 + 0x00030> in <filename unknown>:0\r\n  at Amazon.Runtime.Internal.GenericHandler.InvokeSync (IExecutionContext executionContext) <0x4036fd60 + 0x00027> in <filename unknown>:0\r\n  at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (IExecutionContext executionContext) <0x4036fc00 + 0x00030> in <filename unknown>:0\r\n  at Amazon.Runtime.Internal.GenericHandler.InvokeSync (IExecutionContext executionContext) <0x4036fd60 + 0x00027> in <filename unknown>:0\r\n  at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (IExecutionContext executionContext) <0x4036fc00 + 0x00030> in <filename unknown>:0\r\n  at Amazon.Runtime.Internal.GenericHandler.InvokeSync (IExecutionContext executionContext) <0x4036fd60 + 0x00027> in <filename unknown>:0\r\n  at Amazon.Runtime.Internal.PipelineHandler.InvokeSync (IExecutionContext executionContext) <0x4036fc00 + 0x00030> in <filename unknown>:0\r\n  at Amazon.Runtime.Internal.RetryHandler.InvokeSync (IExecutionContext executionContext) <0x4037ac20 + 0x00083> in <filename unknown>:0\r\nFatal error => Amazon.Runtime.AmazonServiceException: A WebException with status SendFailure was thrown. ---> System.Net.WebException: Error: SendFailure (Error writing headers) ---> System.Net.WebException: Error writing headers ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010f\r\n  at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (IAsyncResult asyncResult) <0x403b2590 + 0x000f7> in <filename unknown>:0\r\n  at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (IAsyncResult ar, Boolean ignoreEmpty) <0x403b24e0 + 0x0002b> in <filename unknown>:0\r\n  at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (IAsyncResult result) <0x403ad290 + 0x0020f> in <filename unknown>:0\r\n  --- End of inner exception stack trace ---\r\n  at System.Net.WebConnection.EndWrite (System.Net.HttpWebRequest request, Boolean throwOnError, IAsyncResult result) <0x403c6bf0 + 0x00207> in <filename unknown>:0\r\n  at System.Net.WebConnectionStream+<SetHeadersAsync>c__AnonStorey1.<>m__0 (IAsyncResult r) <0x403c6550 + 0x0012b> in <filename unknown>:0\r\n  --- End of inner exception stack trace ---\r\n  --- End of inner exception stack trace ---\r\n  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x4039d060 + 0x00197> in <filename unknown>:0\r\n  at System.Net.HttpWebRequest.GetResponse () <0x40396a10 + 0x00053> in <filename unknown>:0\r\n  at Amazon.Runtime.Internal.HttpRequest.GetResponse () <0x403966f0 + 0x00043> in <filename unknown>:0\r\n  --- End of inner exception stack trace ---\r\n  at Duplicati.Library.Main.BackendManager.List () <0x4036bf70 + 0x00163> in <filename unknown>:0\r\n  at Duplicati.Library.Main.Operation.FilelistProcessor.RemoteListAnalysis (Duplicati.Library.Main.BackendManager backend, Duplicati.Library.Main.Options options, Duplicati.Library.Main.Database.LocalDatabase database, IBackendWriter log) <0x40369920 + 0x001a7> in <filename unknown>:0\r\n  at Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList (Duplicati.Library.Main.BackendManager backend, Duplicati.Library.Main.Options options, Duplicati.Library.Main.Database.LocalDatabase database, IBackendWriter log) <0x40369400 + 0x0008b> in <filename unknown>:0\r\n  at Duplicati.Library.Main.Operation.BackupHandler.Run (System.String[] sources, IFilter filter) <0x4030e3f0 + 0x00e2b> in <filename unknown>:0\r\n\r\nAmazon.Runtime.AmazonServiceException: A WebException with status SendFailure was thrown. ---> System.Net.WebException: Error: SendFailure (Error writing headers) ---> System.Net.WebException: Error writing headers ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010f\r\n  at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (IAsyncResult asyncResult) <0x403b2590 + 0x000f7> in <filename unknown>:0\r\n  at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (IAsyncResult ar, Boolean ignoreEmpty) <0x403b24e0 + 0x0002b> in <filename unknown>:0\r\n  at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (IAsyncResult result) <0x403ad290 + 0x0020f> in <filename unknown>:0\r\n  --- End of inner exception stack trace ---\r\n  at System.Net.WebConnection.EndWrite (System.Net.HttpWebRequest request, Boolean throwOnError, IAsyncResult result) <0x403c6bf0 + 0x00207> in <filename unknown>:0\r\n  at System.Net.WebConnectionStream+<SetHeadersAsync>c__AnonStorey1.<>m__0 (IAsyncResult r) <0x403c6550 + 0x0012b> in <filename unknown>:0\r\n  --- End of inner exception stack trace ---\r\n  --- End of inner exception stack trace ---\r\n  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x4039d060 + 0x00197> in <filename unknown>:0\r\n  at System.Net.HttpWebRequest.GetResponse () <0x40396a10 + 0x00053> in <filename unknown>:0\r\n  at Amazon.Runtime.Internal.HttpRequest.GetResponse () <0x403966f0 + 0x00043> in <filename unknown>:0\r\n  --- End of inner exception stack trace ---\r\n  at Duplicati.Library.Main.BackendManager.List () <0x4036bf70 + 0x00163> in <filename unknown>:0\r\n  at Duplicati.Library.Main.Operation.FilelistProcessor.RemoteListAnalysis (Duplicati.Library.Main.BackendManager backend, Duplicati.Library.Main.Options options, Duplicati.Library.Main.Database.LocalDatabase database, IBackendWriter log) <0x40369920 + 0x001a7> in <filename unknown>:0\r\n  at Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList (Duplicati.Library.Main.BackendManager backend, Duplicati.Library.Main.Options options, Duplicati.Library.Main.Database.LocalDatabase database, IBackendWriter log) <0x40369400 + 0x0008b> in <filename unknown>:0\r\n  at Duplicati.Library.Main.Operation.BackupHandler.Run (System.String[] sources, IFilter filter) <0x4030e3f0 + 0x00e2b> in <filename unknown>:0\r\n\r\nFollowing the recommendations I tried: \r\n\r\nmozroots --import --ask-remove \r\n\r\nbut it did not help, there are other solutions? Or am I doing something wrong?"},"comment":{"url":"https://api.github.com/repos/duplicati/duplicati/issues/comments/195961253","html_url":"https://github.com/duplicati/duplicati/issues/1544#issuecomment-195961253","issue_url":"https://api.github.com/repos/duplicati/duplicati/issues/1544","id":195961253,"user":{"login":"kenkendk","id":1510755,"avatar_url":"https://avatars.githubusercontent.com/u/1510755?v=3","gravatar_id":"","url":"https://api.github.com/users/kenkendk","html_url":"https://github.com/kenkendk","followers_url":"https://api.github.com/users/kenkendk/followers","following_url":"https://api.github.com/users/kenkendk/following{/other_user}","gists_url":"https://api.github.com/users/kenkendk/gists{/gist_id}","starred_url":"https://api.github.com/users/kenkendk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenkendk/subscriptions","organizations_url":"https://api.github.com/users/kenkendk/orgs","repos_url":"https://api.github.com/users/kenkendk/repos","events_url":"https://api.github.com/users/kenkendk/events{/privacy}","received_events_url":"https://api.github.com/users/kenkendk/received_events","type":"User","site_admin":false},"created_at":"2016-03-13T13:54:19Z","updated_at":"2016-03-13T13:54:19Z","body":"Can you connect to the host with another tool, like wget or curl?\r\nIs it a self-signed certificate?\r\nYou can try with `--accept-any-certificate` if you just want it to work, but you could risk man-in-the-middle attacks. Best is to grab the certificate hash and then setting `--accept-specified-certificate-hash=...hash...`."}}