Http 401 error when trying to upload cert to truststore

rajeevyes
Participant II

I am trying to upload a certificate to the truststore using the management API, but getting HTTP 401 . I was able to create the truststore successfully.

HTTP/1.1 401 UnauthorizedConnection:keep-aliveContent-Length:0Content-Type:application/jsonDate:Fri, 25 Nov 2016 06:36:14 GMTServer:Apigee RouterWWW-Authenticate:Basic realm="/organizations/org12/environments/test/keystores/truststore1/certs"
What could be the issue?
Also how do i see the trustore i created on Apigee Edge GUI? I am using the free version.

Regards,
Rajeev S
0 1 210
1 REPLY 1

adas
Participant V

@Rajeev S 401 would imply your credentials are wrong. Can you try any other management call, for example GET /v1/organizations/org12 ?

Currently there's no UI to see the keystores/truststores etc. However you can see your certs if you navigate to Admin>TLS Certificates menu option and select the appropriate environment.