Highlighted

I can't send emails - Error: "Could not convert socket to TLS" and "PKIX path validation failed"

Community Beginner ,
Jun 17, 2020

Copy link to clipboard

Copied

 

I have a CF application sending newsletter emails last 10 years and working just fine. Here is the simple code. As you see I let all connection settings to be taken from the CF server settings (see below) 

 

<cfmail
subject="blah blah" from="sender@mydomain.com"
to="whatever@whatever.com"
type="html" charset="utf-8" timeout="120">

 

Recently others did an update to the certificates of the email server (smtp.mydomain.com).

 

Now my application can not send emails anymore, although I changed nothing to my system and code. My emails from spool folder go to the Undelivr. The error message I get in the mail.log is


"Error","scheduler-1","06/16/20","16:37:56",,"javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed"

 

What's does that mean?

 

Does it mean now something about certificates in my server is not compatible to the new certificate version they have in the email server, so it's problem of certificate incompatibility between server and client???

If this is the case, what can I do to solve the problem?

 

- Is it all about a setting or something in my server?

- Do I just have to download and install something (something about OS or java)?

- Could an OS upgrade to Windows 2012 solve the problem?

 

==========================

- Windows Server 2008 Standard v.6.0.6003 SP 2, wth

- CF 10 Standard server 

- Java Version 1.7.0_15

- Java VM Version 23.7-b01

----------------

My Mail Connection Settings are
Default Server Port 587
Maintain Connection to Mail Server No
Use SSL Connection No
Use TLS Yes
Default Mail Server  smtp.mydomain.com 
Port 587
-------------

My CF 10 is updated (I think)

ColdFusion 10 Update 23
Update Level: 23
Update Type: General
ColdFusion 10 Update 23 has Tomcat upgraded to version 7.0.75.
-----------

 

Thank you in advance 

Anastasios

 

Views

26

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

I can't send emails - Error: "Could not convert socket to TLS" and "PKIX path validation failed"

Community Beginner ,
Jun 17, 2020

Copy link to clipboard

Copied

 

I have a CF application sending newsletter emails last 10 years and working just fine. Here is the simple code. As you see I let all connection settings to be taken from the CF server settings (see below) 

 

<cfmail
subject="blah blah" from="sender@mydomain.com"
to="whatever@whatever.com"
type="html" charset="utf-8" timeout="120">

 

Recently others did an update to the certificates of the email server (smtp.mydomain.com).

 

Now my application can not send emails anymore, although I changed nothing to my system and code. My emails from spool folder go to the Undelivr. The error message I get in the mail.log is


"Error","scheduler-1","06/16/20","16:37:56",,"javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed"

 

What's does that mean?

 

Does it mean now something about certificates in my server is not compatible to the new certificate version they have in the email server, so it's problem of certificate incompatibility between server and client???

If this is the case, what can I do to solve the problem?

 

- Is it all about a setting or something in my server?

- Do I just have to download and install something (something about OS or java)?

- Could an OS upgrade to Windows 2012 solve the problem?

 

==========================

- Windows Server 2008 Standard v.6.0.6003 SP 2, wth

- CF 10 Standard server 

- Java Version 1.7.0_15

- Java VM Version 23.7-b01

----------------

My Mail Connection Settings are
Default Server Port 587
Maintain Connection to Mail Server No
Use SSL Connection No
Use TLS Yes
Default Mail Server  smtp.mydomain.com 
Port 587
-------------

My CF 10 is updated (I think)

ColdFusion 10 Update 23
Update Level: 23
Update Type: General
ColdFusion 10 Update 23 has Tomcat upgraded to version 7.0.75.
-----------

 

Thank you in advance 

Anastasios

 

Views

27

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 17, 2020 0

Have something to add?

Join the conversation