cancel
Showing results for 
Search instead for 
Did you mean: 

REST Reciever adapter SSL error in SAP PO 7.5

0 Kudos

Hello Experts,

I am working on REST receiver adapter in PO 7.5 version.

I am using OAUTH2 authentication and calling an asynchronous REST API using PUT operation.

I have the following credentials (grant type = password, user name, password, client secret, scope, client id and Authorization URL) from client for authentication via OAUTH2.

OAUTH2 is working fine when tested using POSTMAN but when I am trying to use REST receiver OAUTH2 in PO 7.5 using grant type = password, it is failing with error "Could not set up SSL factory".

Can you please help in answering following queries:

1. How can i resolve the above error "Could not set up SSL factory".

2. Can I use OAUTH2 authentication and call REST API using PUT operation at the same step or do I have to call OAUTH2 authentication as a 1st step, get authorization token and then call REST API as a 2nd Step.

3. Client has not provided 2 credentials: "Authorization Server Username" & "Authorization server Password" (as shown in the screen shot) but I am able to authenticate OAUTH2 without these credentials in POSTMAN. As these credentials are mandatory in REST receiver adapter so i have provided these as DUMMY in url and password as shown in the screen shot. Hope these are not required as mentioned in blog:

https://blogs.sap.com/2017/07/21/sap-po-rest-integration-with-salesforce-oauth/

Accepted Solutions (0)

Answers (4)

Answers (4)

Main reason behind this SSL Socket Factory error may be due either the failure of SSL handshake or inability of SAP PO in your environment to reach the target application.

You may connect to the BASIS team and request them to either open required network ports to reach target application or try installing required certificates for successful SSL handshake.

LaszloTasnadi
Advisor
Advisor

Hello,

According to note 2405166 - New Feature: Support for OAuth 2.0 Client Credentials and Resource Owner Password Credentials Grants the Authorization Server Username and Authorization server Password is required. It is also described in RFC 6749 (https://tools.ietf.org/html/rfc6749#section-3.2.1).

Could you please tell me where are you getting the Could not set up SSL factory error?

Thanks,
Laszlo

liaji
Member
0 Kudos

Hi, Anurag

How did your basis team solve the issue ? have you documented the solution ?

We come cross same issue now...

Regards,

-Liang

0 Kudos

Hello Experts,

SSL Factory error is resolved by BASIS team.

Could anyone please answer my rest two questions.

rajneesh_sharma
Newcomer

Hi Anurag,

Can you please check with the BASIS team and help us with the steps implemented to resolve the "Could not Connect SSL Socket Factory!" Issue? We are facing the same issue and needed to know the fix for the same.