Why ovirt-engine-notifier with TLS authentication is giving error as unable to find valid certification path to requested target?

Solution Verified - Updated -

Issue

  • ovirt-engine-notifier configured as TLS authentication for smtp server with self signed certificate is showing below error in the notifier log when sending mails
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
        at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1918)
  • How to import self signed CA certificate of mail server to the keystore of ovirt-engine-notifier?

Environment

  • Red Hat Enterprise Virtualization 3.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.