Hello Everyone,
I am trying to explore CA SSO REST API services and I am facing an issue with
/ca/api/sso/services/policy/v1/deployment/import service
1. I have exported federation partnership with
/ca/api/sso/services/policy/v1/deployment/export command by providing "
passPhrase" value as well.
2. Export service worked fine and I was able to download the federation partnership configuration as an XML file
3. I have then changed the federation partnership name and description by opening the XML file
4. I have tried to import the updated XML content with
/ca/api/sso/services/policy/v1/deployment/import service. I have also provided the correct "
passPhrase" in the body.
5. But I am getting the below error
[2019-08-28 18:57:26][ERROR][RestServlet:com.ca.siteminder.sdk.restservlet.RestServlet.doLog(RestServlet.java:145)][RESPONSE_BODY:
{
"responseType": "error",
"status": 400,
"data": [
{
"msgId": "sm-xpsxps-05850",
"args": [
"ImportFile_1567018646403.xml"
],
"message": "Decryption failed.",
"code": -1
}
]
}]
I am sure I am giving the correct "
passPhrase" .value.
Please let me know if you have any thoughts on this issue.
------------------------------
Thanks,
Gopi.
------------------------------