Hello,
I have Avast! Free Antivirus on Windows 8x64. I have application to send emails. With Mail Shield on I get errors:
“Could not convert socket to TLS: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”
I use smtp.gmail.com:587 with TLS enabled.
I tried to configure Settings->Troubleshooting->Redirect Settings-> Ignored addresses of WEB and MAIL to smtp.gmail.com, and that doesn’t help.
With Mail Shield turned off everything works fine.
Can I configure Avast! Mail Shield to allow outbound connections to smtp.gmail.com:587?
What OS/SP ?
What exact version of avast ?
What are you using to handle the mail ?
Any other security (related) software installed ? (or was there)
Gmail is already scanning all mail in/out for spam and virus so i would turn off avast mail shield … but that`s me ![]()
2Eddy:
Windows 8 Pro without SP
Avast 11.1.2241
I have my java program, that automatically sends emails using my gmail account.
Windows firewall is on, but it doesn’t cause any problems. No other antiviruses. No other security related staff. Anyway it’s obvious that Avast causes the problem.
2Pondus:
Turn off Mail Shield it’s obvious. The question is can it be done without turning it off?
The question is can it be done without turning it off?usually yes
I have my java program, that automatically sends emails using my gmail account.What mail client is that?
2Pondus:
client is java code that I wrote, just java library javax.mail.
You need to import the avast certificate in the “truststore”.
Thank you! It should work…
Also Mail Shield → Customize → SSL scanning → uncheck Scan SSL connections helps.