I guess you are wrong on how to use X509 certificates on mono, but anyways you won't use the latest. So I won't also waste my time to tell what is likely wrong.
Atsushi Eno Peter Bradley wrote: > Ysgrifennodd Atsushi Eno: >> Hi, >> >> Actually we have up-to-date mono packages for 10.3 on our build service. >> Search for mono-complete at http://software.opensuse.org/search >> There should be mono-complete-1.9.1 on the results. >> >> > > First let me say that the installation of the new version of mono is > seriously impressive. First rate. > > It completely hoses MonoDevelop, of course, which now won't start, but > that's happened to me every time I've upgraded Mono, so I'll just > uninstall it and forget about it. It's been nothing but a complete > waste of time to me, unfortunately. I think getting a good IDE for mono > is really important, but this clearly isn't it if my experience is > anything to go by. > > The problem with my program isn't fixed, though. > > --------------------------------- > > [EMAIL PROTECTED]:~/ProjectsDotNet/EPP.NET/EppClientConsoleUI/bin/Debug> mono > EppClientConsoleUI.exe > Please enter your user id : H110172 > Please enter your password: ******* > > Unhandled Exception: System.IO.IOException: The authentication or > decryption has failed. ---> uk.co.special.Epp.EppException: The > X509Chain.ChainStatus returned an array of X509ChainStatus objects > containing error information. > at uk.co.special.Epp.EppClient.CertificateValidationCallback > (System.Object sender, > System.Security.Cryptography.X509Certificates.X509Certificate > certificate, System.Security.Cryptography.X509Certificates.X509Chain > chain, SslPolicyErrors sslPolicyErrors) [0x00000] > at > System.Net.Security.SslStream+<>c__CompilerGenerated13.<BeginAuthenticateAsClient>c__44 > > (System.Security.Cryptography.X509Certificates.X509Certificate cert, > System.Int32[] certErrors) [0x00000] > at > Mono.Security.Protocol.Tls.SslClientStream.OnRemoteCertificateValidation > (System.Security.Cryptography.X509Certificates.X509Certificate > certificate, System.Int32[] errors) [0x00000] > at > Mono.Security.Protocol.Tls.SslStreamBase.RaiseRemoteCertificateValidation > (System.Security.Cryptography.X509Certificates.X509Certificate > certificate, System.Int32[] errors) [0x00000] > at > Mono.Security.Protocol.Tls.SslClientStream.RaiseServerCertificateValidation > (System.Security.Cryptography.X509Certificates.X509Certificate > certificate, System.Int32[] certificateErrors) [0x00000] > at > Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates > > (Mono.Security.X509.X509CertificateCollection certificates) [0x00000] > at > Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1 > > () [0x00000] > at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () > [0x00000] > at (wrapper remoting-invoke-with-check) > Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process () > at > Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage > (Mono.Security.Protocol.Tls.TlsStream handMsg) [0x00000] > at > Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback > (IAsyncResult asyncResult) [0x00000] --- End of inner exception stack > trace --- > > at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback > (IAsyncResult asyncResult) [0x00000] > [EMAIL PROTECTED]:~/ProjectsDotNet/EPP.NET/EppClientConsoleUI/bin/Debug> > > ------------------------------------------------------------------------------------ > > > > It authenticates just fine under Windows with the .cer file in the > directory of the executing assembly. > > ----------------------------------------------------------------------------------------- > > > > The output from monodevelop, should anyone be interested, is: > > [EMAIL PROTECTED]:~/ProjectsDotNet/EPP.NET/EppClientConsoleUI/bin/Debug> > monodevelop > 2008-06-17 19:29:10,526 [-193691536] ERROR > MonoDevelop.Core.ILoggingService [(null)] - Add-in error (): > System.ArgumentNullException: Argument cannot be null. > Parameter name: typeName > at System.Type.GetType (System.String typeName, Boolean throwOnError) > [0x00000] > at Mono.Addins.RuntimeAddin.GetType (System.String typeName, Boolean > throwIfNotFound) [0x00000] > at MonoDevelop.Projects.Extensions.DataTypeCodon.get_Class () [0x00000] > at MonoDevelop.Projects.ProjectService.OnPropertiesExtensionChanged > (System.Object s, Mono.Addins.ExtensionNodeEventArgs args) [0x00000] > at Mono.Addins.ExtensionNode.add_ExtensionNodeChanged > (Mono.Addins.ExtensionNodeEventHandler value) [0x00000] > 2008-06-17 19:29:10,557 [-193691536] ERROR > MonoDevelop.Core.ILoggingService [(null)] - Add-in error (): > System.ArgumentNullException: Argument cannot be null. > Parameter name: typeName > at System.Type.GetType (System.String typeName, Boolean throwOnError) > [0x00000] > at Mono.Addins.RuntimeAddin.GetType (System.String typeName, Boolean > throwIfNotFound) [0x00000] > at MonoDevelop.Projects.Extensions.DataTypeCodon.get_Class () [0x00000] > at MonoDevelop.Projects.ProjectService.OnPropertiesExtensionChanged > (System.Object s, Mono.Addins.ExtensionNodeEventArgs args) [0x00000] > at Mono.Addins.ExtensionNode.add_ExtensionNodeChanged > (Mono.Addins.ExtensionNodeEventHandler value) [0x00000] > 2008-06-17 19:29:10,557 [-193691536] ERROR > MonoDevelop.Core.ILoggingService [(null)] - Add-in error (): > System.ArgumentNullException: Argument cannot be null. > Parameter name: typeName > at System.Type.GetType (System.String typeName, Boolean throwOnError) > [0x00000] > at Mono.Addins.RuntimeAddin.GetType (System.String typeName, Boolean > throwIfNotFound) [0x00000] > at MonoDevelop.Projects.Extensions.DataTypeCodon.get_Class () [0x00000] > at MonoDevelop.Projects.ProjectService.OnPropertiesExtensionChanged > (System.Object s, Mono.Addins.ExtensionNodeEventArgs args) [0x00000] > at Mono.Addins.ExtensionNode.add_ExtensionNodeChanged > (Mono.Addins.ExtensionNodeEventHandler value) [0x00000] > 2008-06-17 19:29:10,557 [-193691536] ERROR > MonoDevelop.Core.ILoggingService [(null)] - Add-in error (): > System.ArgumentNullException: Argument cannot be null. > Parameter name: typeName > at System.Type.GetType (System.String typeName, Boolean throwOnError) > [0x00000] > at Mono.Addins.RuntimeAddin.GetType (System.String typeName, Boolean > throwIfNotFound) [0x00000] > at MonoDevelop.Projects.Extensions.DataTypeCodon.get_Class () [0x00000] > at MonoDevelop.Projects.ProjectService.OnPropertiesExtensionChanged > (System.Object s, Mono.Addins.ExtensionNodeEventArgs args) [0x00000] > at Mono.Addins.ExtensionNode.add_ExtensionNodeChanged > (Mono.Addins.ExtensionNodeEventHandler value) [0x00000] > 2008-06-17 19:29:10,559 [-193691536] ERROR > MonoDevelop.Core.ILoggingService [(null)] - Add-in error (): > System.ArgumentNullException: Argument cannot be null. > Parameter name: typeName > at System.Type.GetType (System.String typeName, Boolean throwOnError) > [0x00000] > at Mono.Addins.RuntimeAddin.GetType (System.String typeName, Boolean > throwIfNotFound) [0x00000] > at MonoDevelop.Projects.Extensions.DataTypeCodon.get_Class () [0x00000] > at MonoDevelop.Projects.ProjectService.OnPropertiesExtensionChanged > (System.Object s, Mono.Addins.ExtensionNodeEventArgs args) [0x00000] > at Mono.Addins.ExtensionNode.add_ExtensionNodeChanged > (Mono.Addins.ExtensionNodeEventHandler value) [0x00000] > 2008-06-17 19:29:10,559 [-193691536] ERROR > MonoDevelop.Core.ILoggingService [(null)] - Add-in error (): > System.ArgumentNullException: Argument cannot be null. > Parameter name: typeName > at System.Type.GetType (System.String typeName, Boolean throwOnError) > [0x00000] > at Mono.Addins.RuntimeAddin.GetType (System.String typeName, Boolean > throwIfNotFound) [0x00000] > at MonoDevelop.Projects.Extensions.DataTypeCodon.get_Class () [0x00000] > at MonoDevelop.Projects.ProjectService.OnPropertiesExtensionChanged > (System.Object s, Mono.Addins.ExtensionNodeEventArgs args) [0x00000] > at Mono.Addins.ExtensionNode.add_ExtensionNodeChanged > (Mono.Addins.ExtensionNodeEventHandler value) [0x00000] > 2008-06-17 19:29:10,559 [-193691536] ERROR > MonoDevelop.Core.ILoggingService [(null)] - Add-in error (): > System.ArgumentNullException: Argument cannot be null. > Parameter name: typeName > at System.Type.GetType (System.String typeName, Boolean throwOnError) > [0x00000] > at Mono.Addins.RuntimeAddin.GetType (System.String typeName, Boolean > throwIfNotFound) [0x00000] > at MonoDevelop.Projects.Extensions.DataTypeCodon.get_Class () [0x00000] > at MonoDevelop.Projects.ProjectService.OnPropertiesExtensionChanged > (System.Object s, Mono.Addins.ExtensionNodeEventArgs args) [0x00000] > at Mono.Addins.ExtensionNode.add_ExtensionNodeChanged > (Mono.Addins.ExtensionNodeEventHandler value) [0x00000] > Exception in Gtk# callback delegate > Note: Applications can use GLib.ExceptionManager.UnhandledException to > handle the exception. > System.Reflection.TargetInvocationException: Exception has been thrown > by the target of an invocation. ---> System.NullReferenceException: > Object reference not set to an instance of an object > at MonoDevelop.DesignerSupport.Toolbox.Toolbox..ctor > (MonoDevelop.DesignerSupport.ToolboxService toolboxService) [0x00000] > at MonoDevelop.DesignerSupport.ToolboxPad..ctor () [0x00000] > at (wrapper managed-to-native) > System.Reflection.MonoCMethod:InternalInvoke (object,object[]) > at System.Reflection.MonoCMethod.Invoke (System.Object obj, > BindingFlags invokeAttr, System.Reflection.Binder binder, > System.Object[] parameters, System.Globalization.CultureInfo culture) > [0x00000] --- End of inner exception stack trace --- > > at System.Reflection.MonoCMethod.Invoke (System.Object obj, > BindingFlags invokeAttr, System.Reflection.Binder binder, > System.Object[] parameters, System.Globalization.CultureInfo culture) > [0x00000] > at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, > System.Reflection.Binder binder, System.Object[] parameters, > System.Globalization.CultureInfo culture) [0x00000] > at System.Reflection.ConstructorInfo.Invoke (System.Object[] > parameters) [0x00000] > at System.Activator.CreateInstance (System.Type type, Boolean > nonPublic) [0x00000] > at Mono.Addins.RuntimeAddin.CreateInstance (System.String typeName, > Boolean throwIfNotFound) [0x00000] > at MonoDevelop.Ide.Codons.PadCodon.CreatePad () [0x00000] > at MonoDevelop.Ide.Codons.PadCodon.get_PadContent () [0x00000] > at MonoDevelop.Ide.Gui.SdiWorkbenchLayout.CreatePadContent (Boolean > force, MonoDevelop.Ide.Codons.PadCodon padCodon, > MonoDevelop.Ide.Gui.PadWindow window, Gdl.DockItem item) [0x00000] > at > MonoDevelop.Ide.Gui.SdiWorkbenchLayout+<>c__CompilerGenerated63.<AddPad>c__64 > (System.Object +39, System.EventArgs +40) [0x00000] > at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000] > at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, > Boolean is_terminal) > at GLib.Signal.voidObjectCallback(IntPtr handle, IntPtr gch) > at GLib.Signal.voidObjectCallback(IntPtr , IntPtr ) > at Gtk.Widget.gtk_widget_map(IntPtr ) > at Gtk.Widget.gtk_widget_map(IntPtr ) > at Gtk.Widget.Map() > at Gdl.DockItem.OnMapped() > at Gtk.Widget.mapped_cb(IntPtr widget) > at Gtk.Widget.mapped_cb(IntPtr ) > at Gtk.Widget.gtk_widget_map(IntPtr ) > at Gtk.Widget.gtk_widget_map(IntPtr ) > at Gtk.Widget.Map() > at Gdl.DockItem.OnMapped() > at Gtk.Widget.mapped_cb(IntPtr widget) > at Gtk.Widget.mapped_cb(IntPtr ) > at Gtk.Widget.gtk_widget_map(IntPtr ) > at Gtk.Widget.gtk_widget_map(IntPtr ) > at Gtk.Widget.Map() > at Gdl.DockItem.OnMapped() > at Gtk.Widget.mapped_cb(IntPtr widget) > at Gtk.Widget.mapped_cb(IntPtr ) > at Gtk.Widget.gtk_widget_map(IntPtr ) > at Gtk.Widget.gtk_widget_map(IntPtr ) > at Gtk.Widget.Map() > at Gdl.DockItem.OnMapped() > at Gtk.Widget.mapped_cb(IntPtr widget) > at Gtk.Widget.mapped_cb(IntPtr ) > at Gtk.Container.gtksharp_container_invoke_gtk_callback(IntPtr , > IntPtr , IntPtr ) > at Gtk.Container.gtksharp_container_invoke_gtk_callback(IntPtr , > IntPtr , IntPtr ) > at Gtk.Container+CallbackInvoker.Invoke(Gtk.Widget w) > at Gtk.Container+CallbackInvoker.Invoke(Gtk.Widget ) > at Gdl.Dock.ForAll(Boolean include_internals, Gtk.Callback cb) > at Gtk.Container.Forall_cb(IntPtr container, Boolean > include_internals, IntPtr cb, IntPtr data) > at Gtk.Container.Forall_cb(IntPtr , Boolean , IntPtr , IntPtr ) > at GLib.Object.g_signal_chain_from_overridden(IntPtr , Value ByRef ) > at GLib.Object.g_signal_chain_from_overridden(IntPtr , Value ByRef ) > at Gtk.Widget.OnMapped() > at Gdl.Dock.OnMapped() > at Gtk.Widget.mapped_cb(IntPtr widget) > at Gtk.Widget.mapped_cb(IntPtr ) > at GLib.Object.g_object_set_property(IntPtr , IntPtr , Value ByRef ) > at GLib.Object.g_object_set_property(IntPtr , IntPtr , Value ByRef ) > at GLib.Object.SetProperty(System.String name, Value val) > at Gtk.Widget.set_Visible(Boolean value) > at MonoDevelop.Ide.Gui.Workbench.Show(System.String workbenchMemento) > at MonoDevelop.Ide.Gui.IdeApp.Initialize(IProgressMonitor monitor) > at MonoDevelop.Ide.Gui.IdeStartup.Run(System.String[] args) > at MonoDevelop.Core.ApplicationService.StartApplication(System.String > appId, System.String[] parameters) > at MonoDevelop.Startup.SharpDevelopMain.Main(System.String[] args) > [EMAIL PROTECTED]:~/ProjectsDotNet/EPP.NET/EppClientConsoleUI/bin/Debug> > ---------------------------------------------------------------------- > > Cheers > > > Peter > > _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
