Skip to Content
0
Aug 23, 2023 at 06:17 PM

#SCPI : 401Unauthorized Certificate based authneticaton

106 Views

Hi Experts,

3rd Party application is trying to establish the connection with SAP CPI using certificate-based authentication, but they are getting 401 unauthorized. But its working for credential-based authentication.

I have followed below blogs:

https://blogs.sap.com/2019/08/14/cloud-integration-on-cf-how-to-setup-secure-http-inbound-connection-with-client-certificates/

i followed each step but still getting error.

So i tried to mimic the same using postman but still getting the same error.( Tried both in NEO and CF )

1. Generated SAP Passport.

2. Imported in SAP CPI, exported the certificate chain(Import -> keypair).

3. Exported the root certificate.

image.png

4. imported in SAP CPI channel.

image.png

5.

image.png

But still getting error :

image.png

image.png

Any expert advice please? I don't want to use role-based authorization.

Attachments

image.png (29.6 kB)
image.png (40.4 kB)
image.png (39.6 kB)
image.png (40.7 kB)
image.png (59.0 kB)