Video Screencast Help

Quiksoft.EasyMail.SSL.: The server certificate could not be verified

Created: 13 May 2013 • Updated: 26 Aug 2013 | 8 comments
seralar's picture
This issue has been solved. See solution.

HI Gurus,

 

When I test my  Servicedesk e-mail monitoring I got a error.

 

Any ideas about that?

Operating Systems:

Comments 8 CommentsJump to latest comment

seralar's picture

Here the error logs

 

SD.Email.Monitor 2628 5/13/13 9:45 Error LogicBase.Components.Default.Logging.CreateLogEntryComponent Process Name: Email Monitoring   Model: Primary Model   Component Name: Get All Messages   Component Class Name: LogicBase.Components.IMAP4.IMAP4GetComponent   Component ID: 0ed9ddaf-6412-465e-829f-468ca4fae8cf   Exception Class Name: Quiksoft.EasyMail.SSL.SSLConnectionException   Message: Error connecting to server. 10.1.2.172   Stack Trace: Quiksoft.EasyMail.SSL.SSLConnectionException: Error connecting to server. 10.1.2.172 ---> Quiksoft.EasyMail.SSL.SSLConnectionException: Error performing Handshake. Conn ---> Quiksoft.EasyMail.SSL.ᜃ: The server certificate could not be verified. Code:-2146893048    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜏ(Exception A_0)    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜀ(ᜂ A_0, Byte[] A_1)    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜡ(EndPoint A_0)    --- End of inner exception stack trace ---    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜡ(EndPoint A_0)    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜠ(String A_0, Int32 A_1)    --- End of inner exception stack trace ---    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜠ(String A_0, Int32 A_1)    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜆ(String A_0, Int32 A_1, Int32 A_2)    at Quiksoft.EasyMail.IMAP4.IMAP4.Connect(String Server, Int32 Port)    at Quiksoft.EasyMail.IMAP4.IMAP4.Connect(String Server, Int32 Port, Object SSLInterface)    at LogicBase.Components.IMAP4.IMAP4GetComponent.DoRun(String user, String pwd, String server, Int32 port, String folder, Boolean useSSL, IData data)    at LogicBase.Components.IMAP4.AbstractIMAP4Component.Run(IData data)    at LogicBase.Core.ExecutionEngine.MultiPathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)    at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunComponent(TLExecutionContext context, IData data, IOrchestrationComponent comp)
SD.Email.Monitor 2628 5/13/2013 10:00:01 AM Error LogicBase.Components.Default.Logging.CreateLogEntryComponent Process Name: Email Monitoring   Model: Primary Model   Component Name: Get All Messages   Component Class Name: LogicBase.Components.IMAP4.IMAP4GetComponent   Component ID: 0ed9ddaf-6412-465e-829f-468ca4fae8cf   Exception Class Name: Quiksoft.EasyMail.SSL.SSLConnectionException   Message: Error connecting to server. 10.1.2.172   Stack Trace: Quiksoft.EasyMail.SSL.SSLConnectionException: Error connecting to server. 10.1.2.172 ---> Quiksoft.EasyMail.SSL.SSLConnectionException: Error performing Handshake. Conn ---> Quiksoft.EasyMail.SSL.ᜃ: The server certificate could not be verified. Code:-2146893048    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜏ(Exception A_0)    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜀ(ᜂ A_0, Byte[] A_1)    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜡ(EndPoint A_0)    --- End of inner exception stack trace ---    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜡ(EndPoint A_0)    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜠ(String A_0, Int32 A_1)    --- End of inner exception stack trace ---    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜠ(String A_0, Int32 A_1)    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜆ(String A_0, Int32 A_1, Int32 A_2)    at Quiksoft.EasyMail.IMAP4.IMAP4.Connect(String Server, Int32 Port)    at Quiksoft.EasyMail.IMAP4.IMAP4.Connect(String Server, Int32 Port, Object SSLInterface)    at LogicBase.Components.IMAP4.IMAP4GetComponent.DoRun(String user, String pwd, String server, Int32 port, String folder, Boolean useSSL, IData data)    at LogicBase.Components.IMAP4.AbstractIMAP4Component.Run(IData data)    at LogicBase.Core.ExecutionEngine.MultiPathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)    at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunComponent(TLExecutionContext context, IData data, IOrchestrationComponent comp)
SD.Email.Monitor 2628 5/13/2013 10:15:00 AM Error LogicBase.Components.Default.Logging.CreateLogEntryComponent Process Name: Email Monitoring   Model: Primary Model   Component Name: Get All Messages   Component Class Name: LogicBase.Components.IMAP4.IMAP4GetComponent   Component ID: 0ed9ddaf-6412-465e-829f-468ca4fae8cf   Exception Class Name: Quiksoft.EasyMail.SSL.SSLConnectionException   Message: Error connecting to server. 10.1.2.172   Stack Trace: Quiksoft.EasyMail.SSL.SSLConnectionException: Error connecting to server. 10.1.2.172 ---> Quiksoft.EasyMail.SSL.SSLConnectionException: Error performing Handshake. Conn ---> Quiksoft.EasyMail.SSL.ᜃ: The server certificate could not be verified. Code:-2146893048    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜏ(Exception A_0)    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜀ(ᜂ A_0, Byte[] A_1)    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜡ(EndPoint A_0)    --- End of inner exception stack trace ---    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜡ(EndPoint A_0)    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜠ(String A_0, Int32 A_1)    --- End of inner exception stack trace ---    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜠ(String A_0, Int32 A_1)    at Quiksoft.EasyMail.SSL.Internal.ᜐ.ᜆ(String A_0, Int32 A_1, Int32 A_2)    at Quiksoft.EasyMail.IMAP4.IMAP4.Connect(String Server, Int32 Port)    at Quiksoft.EasyMail.IMAP4.IMAP4.Connect(String Server, Int32 Port, Object SSLInterface)    at LogicBase.Components.IMAP4.IMAP4GetComponent.DoRun(String user, String pwd, String server, Int32 port, String folder, Boolean useSSL, IData data)    at LogicBase.Components.IMAP4.AbstractIMAP4Component.Run(IData data)    at LogicBase.Core.ExecutionEngine.MultiPathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)    at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunComponent(TLExecutionContext context, IData data, IOrchestrationComponent comp)

reecardo's picture

Are you using SSL on your mail server? If you are, do you have Use SSL checked in your email components?

seralar's picture

Reecardo, yes and yes, But Can I use self-signed certificates?

The Gaffer's picture

From the error message it looks like you are connecting to the email server by IP Address, but wouldn't the SSL certificate have been created for a domain name?

rhamner's picture

No, I don't think you can use a self signed certificate. For the upcoming Service Desk release we added the ability to specify SSL and authentication in Process manager and ran into similar problems with this Quiksoft library. Even though they provide and event we can hook into to override the validation it doesn't work. I suggest you work with your email admins. They should be able to set it up so that your Workflow server doesn't require SSL while keeping it required for all other connections. Or, better yet, create the Exchange certificate from a certificate authority in your domain.

seralar's picture

HI,

 

The problem was with exchange account permissions.. All works fine now

Thanks everyone for your support

SOLUTION