Forum Discussion
F5 API access from java certificate error
Assuming you are actually trying to access the api on the F5 you have provided screen shots for then the certificate you require is the device certificate not the certificate in traffic certificate management.
Install the device certificate from System ›› Certificate Management : Device Certificate Management : Device Certificate into your java Keystore to trust the self signed certificate used by the F5 device irtself.
- srinidhi12Feb 25, 2023Cirrostratus
Thanks for the explanation, is there any specific alias name which I need to specify in the command.
keytool -import -noprompt -trustcacerts -alias http://www.example.com -file "C:\Path\to\www.example.com.cer" -keystore cacerts
- srinidhi12Feb 27, 2023Cirrostratus
And after importing I get the below error:
javax.net.ssl.SSLPeerUnverifiedException: Hostname 10.10.10.10 not verified:
here 10.10.10.10 is the F5 Management IP
- srinidhi12Feb 28, 2023Cirrostratus
Hi,
I just found that I have changed the hostname from the cli and that is not updated in the device certificate, which is giving the "hostname not verified error" Please let me know how to update the hostname in the device certificate.
Recent Discussions
Related Content
* 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