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 Virtualization 4
  • Red Hat Enterprise Virtualization 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content