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