on 10-16-2018 7:48 AM
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/
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Anurag
How did your basis team solve the issue ? have you documented the solution ?
We come cross same issue now...
Regards,
-Liang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Experts,
SSL Factory error is resolved by BASIS team.
Could anyone please answer my rest two questions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.