> Source: [sk153773](https://support.checkpoint.com/results/sk/sk153773)

# sk153773 - "Could not convert socket to TLS"  error message when sending email test in SmartEndpoint

| Property | Value |
|----------|-------|
| Solution ID | sk153773 |
| Date Created | 2019-05-28 |
| Last Modified | 2019-06-10 |
| Technical Level | Advanced |
| Products | Endpoint Security |
| Versions | Cloud, E89.X, E88.X, R82.20, R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * "Could not convert socket to TLS" error message when sending email test in SmartEndpoint.
* In *$UEPMDIR/logs/server_messages.log* :   
  Caused by: javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is: java.security.cert.CertPathValidatorException: The certificate issued by CN=Giotis-CA, DC=int, DC=jotis, DC=gr is not trusted; internal cause is: java.security.cert.CertPathValidatorException: Certificate chaining error

## Cause

Some of the certificates were not included in TrustStore. (A TrustStore contains certificates from other parties that you expect to communicate with, or from Certificate Authorities that you trust to identify other parties.)

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
