how do I use hostnameVerifier on JDMK 4.2 running over HTTPS?
0 posts in topic
Flat View  Flat View

Posted By:   Joe_Bologna
Posted On:   Wednesday, August 8, 2001 12:18 PM

I'm using the JDMK 4.2, and I seeing the following problem:

!!! Could not connect the HTTPS connector client to the agent !!!
com.sun.jdmk.comm.CommunicationException: java.io.IOException:
HTTPS hostname wrong: should be , but cert says

I'm running a JMX agent on two ethernet interfaces. The names are: jmxhost1 and jmxhost2. When I try to connect to the agent using jmxhost1, it works fine. I've seen the article showing how to use hostnameVerifier, but the JDMK is hiding the connection inside the HttpConnector. Can I do this with the JDMK HttpsConnector class?
About | Sitemap | Contact