Spring boot Spring Boot,Hawtio/Jolokia未连接自签名证书
我想在我的Spring Boot应用程序中测试连接到hawtio/jolokia以查看一些jwm参数,但我想在我的Spring Boot应用程序上使用自签名证书 首先: 当我包含自签名证书时,我无法从hawtio连接到Jolokia客户端 即在https://localhost:8089/hawtio/jvm/connect 当我尝试将连接添加到https://localhost:8089/hawtio/jolokia “测试连接”我得到一个小的橙色警告三角形,表示“连接失败” 我可以用两种方法解决这个问题Spring boot Spring Boot,Hawtio/Jolokia未连接自签名证书,spring-boot,spring-boot-actuator,Spring Boot,Spring Boot Actuator,我想在我的Spring Boot应用程序中测试连接到hawtio/jolokia以查看一些jwm参数,但我想在我的Spring Boot应用程序上使用自签名证书 首先: 当我包含自签名证书时,我无法从hawtio连接到Jolokia客户端 即在https://localhost:8089/hawtio/jvm/connect 当我尝试将连接添加到https://localhost:8089/hawtio/jolokia “测试连接”我得到一个小的橙色警告三角形,表示“连接失败” 我可以用两种方法
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>io.hawt</groupId>
<artifactId>hawtio-springboot</artifactId>
<version>2.13.2</version>
</dependency>
<dependency>
<groupId>io.hawt</groupId>
<artifactId>hawtio-core</artifactId>
<version>2.13.2</version>
</dependency>
#===============================================================================
# Management and Health check settings
# If you are using a self-signed certificate you need to run the API with the
# following parameter: -Dhawtio.proxyDisableCertificateValidation=true
#===============================================================================
management.server.port=8089
management.endpoints.web.base-path=/
management.endpoint.health.show-details=always
management.endpoints.web.exposure.include=*,hawtio
management.endpoint.beans.enabled=true
hawtio.authenticationEnabled=false