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! Go to 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.