Hi all.

It seems that CS always tries to send alert emails via ssl -- if I
configure it to use non-ssl port (25), I get the following exception:

>javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection

However, if I use ssl port(465) with self-signed certificate, I get the
following exception:

> ERROR [cloud.alert.AlertManagerImpl] (HA-Worker-0:work-585) Problem
sending email alert
>javax.mail.MessagingException: Exception reading response;
> nested exception is:
>       javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target

I'm using centos 6.4/cloudstack 4.0.2.

I was able to workaround this by installing signed ssl certificate in front
of MTA on the management server, but I'm wondering if there is way to use
non-ssl connection/selfsigned ssl on smtp server ?

-- 
Regards,
Valery

http://protocol.by/slayer

Reply via email to