Forum Discussion
F5 HTTP API Request
Hi srinidhi12,
No, you must never import private keys when dealing only with trust. Keys are used for encryption/decryption, not for trust. In this case it seems you're using a self-signed certificate for F5 management, so it's like a special case of a Root CA establishing the trust for itself (by definition, a Root CA is self-signed).
But... reading between the lines in your question makes me believe things are not working yet. Or are they?
If not, I would suggest the procedure in my previous post: get a traffic capture, confirm the certificate your java machine is getting from the F5 box is the one you are expecting to see there. Or in other words, if that certificate is signed by the one you have imported into java trust store.
/Mike
Thanks Mike757
for now the certificate is recognised by Java, but during the https connection request, I get the below error in the SSL verification:
javax.net.ssl.SSLPeerUnverifiedException: Hostname 10.10.10.10 not verified:
(10.10.10.10 -F5 management IP)
Now I have a query that if any other step is required to verify the hostname.
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