Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How can i add cert to trust store of Apigee UI?

I get an error when i import a wsdl from a https endpoint saying 'peer not verified'. Looks like the truststore in UI needs to be configured to accept this cert. How can i do it? This is a on-prem deployment.

UPDATE: It looks like UI has a different truststore than the runtime

Thanks,

Mukundha

Solved Solved
1 5 2,351
1 ACCEPTED SOLUTION

@Mukundha Madhavan - Have you resolved this problem?

I can use a custom cert on a secure virtual host in Apigee Edge.

I have the keystore set up properly and can successfully invoke APIs on that vhost, using curl from an external client, as long as I configure curl to trust that certificate.

To configure the Trace UI to trust the cert, I needed to add it to the list of certs trusted by the OS, on the server where edge-ui is running. For RHEL >=6 and Centos >=6, this means:

 sudo yum install ca-certificates
 sudo update-ca-trust force-enable
 sudo cp mycert.pem /etc/pki/ca-trust/source/anchors/
 sudo update-ca-trust extract
 /opt/apigee/apigee-service/bin/apigee-service  edge-ui restart

I did this on 16.09, and it worked nicely.

View solution in original post

5 REPLIES 5