0
我有一个curl命令 curl -header“IDS-SESSION-ID:000000000000”-k --key ./file.key.pem --cert ./file.crt.pem -X POST - v https://localhost:9086/api/v11.0/searchRestassured Authentication
如何通过证书和密钥文件放心。
我有下面的代码示例其工作forother参数curl命令
RESTBase restClient = new RESTBase(URL + "/search");
restClient.skipSSLCertificateValidation();
restClient.setHeader("IDS-SESSION-ID", sessionId);
这样做我得到SSL握手错误。我如何克服这一点? – user5702955