AnsweredAssumed Answered

Connection problem via CA sdm REST API

Question asked by Thinhinane on Aug 10, 2017
Latest reply on Nov 9, 2017 by AbhishekDanej

Hello;
I am trying to connect to CA sdm via the REST API using a secret key and an access key that I generate on sdm ca. I use the hash algorithm HmacSHA1 but it returns the code 500

 

Response status code: 201
Response body:
{"rest_access":{"@id":"400626","@REL_ATTR":"400626","@COMMON_NAME":"349510855","link":{"@href":"http:\/\/vnasdmt9:8050\/caisd-rest\/rest_access\/400626","@rel":"self"},"access_key":349510855,"expiration_date":1502987715,"secret_key":"EC22DFC022274FAC02E47526781FD47A34181FAD"}}
AccessKey: 349510855
SecretKey EC22DFC022274FAC02E47526781FD47A34181FAD
signature: n%2BeNGwwEEmlMdeaYrToYakTviqo%3D
Execute GET request for http://vnasdmt9:8050/caisd-rest/cnt
Response status code: 500
Response body:
<ns1:XMLFault xmlns:ns1="http://cxf.apache.org/bindings/xformat"><ns1:faultstring xmlns:ns1="http://cxf.apache.org/bindings/xformat">com.ca.ServicePlus.rest.framework.service.exception.UnauthorizedException</ns1:faultstring></ns1:XMLFault>

 

 

Outcomes