Certificate based Authentication one way [without mutual authentication]

Navnit1
Tera Expert

Hi All ,

 

We need your support for a connection setup with 3rd party system using the Certificate (PEM format) , Key store file and a token given for the API end point.

 

we followed below -->

 

1: Tested the given API and Token and certificate in POST MAN and ITS WORKING AS EXPECTED

2: But for ServiceNow, it's not working and gives the error

javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_required

 

 Steps followed in ServiceNow-->

  •   Upload and validated the Keystore and PEM Certificate in System Definition --> Certificates
  •   Created Protocol Profile and linked it with Keystore certificate.
  •  Configured the REST Message with end point using the Mutual Authentication Option [as that is only way found to link the keystore file via protocol profile]
  • tested it, but it gives the error '

    javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_required

     

     

     

Hence from POSTMAN it works but in ServiceNow, not sure how to configure it for connection setup. Also, if using the Mutual Authentication option, then as per documentation, from ServiceNow end, we must share the certificates with 3rd party system. But when checked with 3rd Party system owner, they say that its only one way and it should be working and there no need to certificates from ServiceNow.

 

Now we are stuck and need your input if we could have this working with the available details'.

 

 

Please help.

 

Thanks,

Navnit

1 REPLY 1

Mansi13
Tera Contributor

HI < did you find a way to access 3rd party API with certificate?