AutoPass Mail Configuration error (”Could not convert socket to TLS” in server logs)
Question ID: 108138

I have tried to configure the mail for AutoPass, but it is not working. I am using the correct mail server, port, and my work email address, and still get an error when trying to send a test email. The information works in another application and not here.

I am seeing the following error message in the log file.

ERROR – Jan 19 16:41:34 – [ : LicenseServerMailer.sendEmail] :: javax.mail.MessagingException: Could not convert socket to TLS;
nested exception is: PKIX path building failed: unable to find valid certification path to requested target

Marked as spam
Posted by (Questions: 424, Answers: 91)
Asked on January 30, 2018 11:02 pm
Answers (1)
Private answer

Find your **** file which is either located here

%ProgramData%\HP\HP AutoPass License Server\AutoPass License Server\data\conf\

or here


Add an entry called `mail.smtp.ehlo=false` to your file, save, then *restart the APLS service*.

Marked as spam
Posted by (Questions: 0, Answers: 771)
Answered on January 30, 2018 11:04 pm
Thanks, this solution worked. AutoPass can now send email alerts.
( at January 30, 2018 11:04 pm)

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

Scroll to Top