简体   繁体   English

通过JMX为SSL配置VisualVM

[英]Configure VisualVM for SSL through JMX

I have succeeded in establishing connection without SSL with the following command: 我已经使用以下命令成功建立了没有SSL的连接:

java -Dcom.sun.management.jmxremote.port=3333 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false DemoApp java -Dcom.sun.management.jmxremote.port = 3333 -Dcom.sun.management.jmxremote.ssl = false -Dcom.sun.management.jmxremote.authenticate = false DemoApp

But how do I connect through SSL? 但是如何通过SSL连接? I have created a self signed certificate certreq.csr. 我创建了一个自签名证书certreq.csr。 How do I use this to establish SSL connection from VisualVM. 如何使用它从VisualVM建立SSL连接。 The official documentation is not clear. 官方文档不清楚。 Please advise me on the steps. 请给我建议的步骤。

This blog link seems to explain in good detail. 这个博客链接似乎详细解释了。 Does it help? 有帮助吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM