PFX Certificate for Authentication using REST connector

ShubhamBabbar
New Contributor III
New Contributor III

To use a PFX certificate for authentication in REST Connection please follow the following steps:

Upload the certificate under File Directory → Connector Files module and The path for the above location is : /saviynt_shared/saviynt/ConnectorFiles


Here is the connection json:
{
"authentications": {
"acctAuth": {
"authType": "oauth2",
"url": "https://xxxxxxxxxxxx.accounts.ondemand.com",
"httpMethod": "GET",
"httpParams": {
"grant_type": "client_cert"
},
"httpContentType": "application/x-www-form-urlencoded",
"ssl": {
"keyFile": "/saviynt_shared/saviynt/ConnectorFiles/cert.p12",
"keyFilePassword": "xxxxxxxx",
"keyStoreType": "PKCS12",
"sslAlgorithmName": "TLSv1.2"
},
"httpHeaders": {},
"retryFailureStatusCode": [
401,
403
],
"expiryError": "ExpiredAuthenticationToken",
"authError": [
"SESSION_NOT_VALID",
"AuthenticationFailed",
"ExpiredJwtException",
"401 Unauthorized"
],
"timeOutError": "Read timed out",
"errorPath": "code",
"maxRefreshTryCount": 6,
"tokenResponsePath": "",
"tokenType": "",
"accessToken": "abc"
}
}
}

2 REPLIES 2

DaanishJawed
Saviynt Employee
Saviynt Employee

Hi @ShubhamBabbar ,

Can you give us pointers on the above post? Is this an issue ? If Yes, what issue are you facing?

Thanks.

Hi Daanish,

This should have been posted as a knowledge base article. I have contacted the Saviynt admin in this regard.

Thanks,
Shubham