Forum Discussion
srinidhi12
Feb 22, 2023Cirrostratus
F5 API access from java certificate error
Hi All, I am accessing the F5 API from java, but I get the certificate error on the http request: Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provid...
srinidhi12
Feb 23, 2023Cirrostratus
can anyone please let me know the steps to be configured to access the API from java with the SSL certificate installation in jvm. As I am confused with the steps or not sure if I am missing anything.
The steps I followed:
- Download the f5_api_com.crt from certificate management->Traffic certificate management ->SSL certificate ->f5_api_com.crt
- Import it to my jdk using the below command:
- sudo keytool -importcert -alias f5_api domain -file f5_api_com.crt -keystore cacerts
- certificate is added successfully.
- Restarted my system
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects