SocketException Connection Reset

I am trying to create user using API in Okta’s preview account.

When I run it from Postman it works fine. However, running it from SAP PI server returns SocketException.

Specifically, running OPTIONS http request shows that socketFactory is null which can be connected to missing certificates. However, I have uploaded all the certificates to TrustedCAs.