我正在运行JVM参数中配置的Java (Microservice)和trustStore。如果Microservice需要连接外部URL,则需要在trustStore中导入证书。Example: example.com -> examplecom as alias in trustStoreexample.in -> examplein as alias in trustStore
我已经设置了一个自签名证书来测试ssl java连接-但是,它拒绝定位java trustStore。= System.getProperty("javax.net.ssl.trustStore"); System.out.println("javax.net.ssl.trustStore is not defined"); Syste