# Ssl handshake error

**URL:** <https://developer.sailpoint.com/discuss/t/ssl-handshake-error/99335>\
**Category:** SHF Discussion and Questions\
**Tags:** webservice-connector, sailpoint-identity-security, connectors\
**Created:** [January 29, 2025, 10:39am UTC](https://developer.sailpoint.com/discuss/t/ssl-handshake-error/99335 "2025-01-29T10:39:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![TDabos](https://avatars.discourse-cdn.com/v4/letter/t/d2c977/32.png) [@TDabos](https://developer.sailpoint.com/discuss/u/TDabos)\
**Post date:** [January 29, 2025, 10:39am UTC](https://developer.sailpoint.com/discuss/t/ssl-handshake-error/99335/1 "2025-01-29T10:39:28Z")

</div>

Hello the community,  
We are trying to connect to Yokoy API using a Webservice Connector, we added the certificates (PEM format) for the API/oauth2 url to the VA and restarted ccg.  
Despite of the installation of the certificates, the test connection is not working on ISC.

Error Details :  
“Error: Exception occurred while generating access token: Unable to generate access token. Response returned: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake”

The credentials are correct, we used Postman to test and it worked.  
We tried to CURL Yokoy on the VA (even google) and it didn’t worked, error 443 ssl.  
So is there some firewall configuration to set or VA configuration to change for the ssl handshake to work?

Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![sauvee](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/sauvee/32/23601_2.png) [@sauvee](https://developer.sailpoint.com/discuss/u/sauvee)\
**Post date:** [January 29, 2025, 10:42am UTC](https://developer.sailpoint.com/discuss/t/ssl-handshake-error/99335/2 "2025-01-29T10:42:34Z")

</div>

Can you do a curl -v (verbose logging)? That way you can see if it actually hits the url or something else in between.

Do you have a proxy configured?

---

<div class="post-metadata">

**Author:** ![TDabos](https://avatars.discourse-cdn.com/v4/letter/t/d2c977/32.png) [@TDabos](https://developer.sailpoint.com/discuss/u/TDabos)\
**Post date:** [January 29, 2025, 12:43pm UTC](https://developer.sailpoint.com/discuss/t/ssl-handshake-error/99335/3 "2025-01-29T12:43:07Z")

</div>

Hi, i tried the verbose on curl, i put the screenshot there.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/1/1/117417b89fcbc3987bf87fafcf339160ca24ff39.png)

---

<div class="post-metadata">

**Author:** ![sauvee](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/sauvee/32/23601_2.png) [@sauvee](https://developer.sailpoint.com/discuss/u/sauvee)\
**Post date:** [January 29, 2025, 1:03pm UTC](https://developer.sailpoint.com/discuss/t/ssl-handshake-error/99335/4 "2025-01-29T13:03:21Z")

</div>

I’m assuming you’re not connecting to [google.com](http://google.com) as the web service? It’s clear that [google.com](http://google.com) is not added in the certificates file.

Can you try for the actual webservice you are trying to connect to? Please obfuscate any values that are sensitive.

---

<div class="post-metadata">

**Author:** ![TDabos](https://avatars.discourse-cdn.com/v4/letter/t/d2c977/32.png) [@TDabos](https://developer.sailpoint.com/discuss/u/TDabos)\
**Post date:** [January 29, 2025, 1:56pm UTC](https://developer.sailpoint.com/discuss/t/ssl-handshake-error/99335/5 "2025-01-29T13:56:36Z")

</div>

it’s the exact same error :

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/c/1/c13516701ae687f412f87a15917bd9c5d0dee257.png)

---

<div class="post-metadata">

**Author:** ![sauvee](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/sauvee/32/23601_2.png) [@sauvee](https://developer.sailpoint.com/discuss/u/sauvee)\
**Post date:** [January 30, 2025, 8:25am UTC](https://developer.sailpoint.com/discuss/t/ssl-handshake-error/99335/6 "2025-01-30T08:25:45Z")

</div>

That tells me that the exact certificate path or CA hasn’t been properly imported (yet). You mentioned you have imported the certificates but:  
a) where did you import them  
b) did you only import the certificate or the whole chain

---

<div class="post-metadata">

**Author:** ![TDabos](https://avatars.discourse-cdn.com/v4/letter/t/d2c977/32.png) [@TDabos](https://developer.sailpoint.com/discuss/u/TDabos)\
**Post date:** [January 31, 2025, 2:29pm UTC](https://developer.sailpoint.com/discuss/t/ssl-handshake-error/99335/7 "2025-01-31T14:29:27Z")

</div>

i imported them in the home/sailpoint/certificates folder.  
I imported the certificates “api.test.yokoy.ai” for the api calls and “accounts.test.yokoy.ai” for the token call.

---

<div class="post-metadata">

**Author:** ![sauvee](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/sauvee/32/23601_2.png) [@sauvee](https://developer.sailpoint.com/discuss/u/sauvee)\
**Post date:** [February 5, 2025, 7:47am UTC](https://developer.sailpoint.com/discuss/t/ssl-handshake-error/99335/8 "2025-02-05T07:47:47Z")

</div>

Have you tried openssl to connect to the end point via the VA and grab the certificates that way?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [April 6, 2025, 7:48am UTC](https://developer.sailpoint.com/discuss/t/ssl-handshake-error/99335/9 "2025-04-06T07:48:32Z")

</div>

Closed on April 6, 2025, 7:48am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
