I am trying to pass certificate (cert.pem and key.key) in the chakram.get using the following options:
var config = {
agentOptions : {
key: fs.readFileSync(certfilePath),
cert: fs.readFileSync(keyfilePath),
Passphrase: passPhrase,
securityOptions: 'SSL_OP_NO_SSLv3',
rejectUnauthorized : false,
secureProtocol: 'SSLv3_method'
}
};
chakram.get(endPoint,queryString,config);
Getting the following error:
<title>400 No required SSL certificate was sent</title>
400 Bad Request
No required SSL certificate was sent
nginx
when i analysed the Request object inside the Response object, i am not getting the agentOptions .
I am not sure when I am passing the agentOptions in the Get request, still not able to set them.
Does someone else getting this error too while trying to send Certificates in the GET call.
I am trying to pass certificate (cert.pem and key.key) in the chakram.get using the following options:
var config = {
agentOptions : {
key: fs.readFileSync(certfilePath),
cert: fs.readFileSync(keyfilePath),
Passphrase: passPhrase,
securityOptions: 'SSL_OP_NO_SSLv3',
rejectUnauthorized : false,
secureProtocol: 'SSLv3_method'
}
};
chakram.get(endPoint,queryString,config);
Getting the following error:
<title>400 No required SSL certificate was sent</title>400 Bad Request
No required SSL certificate was sentnginx
when i analysed the Request object inside the Response object, i am not getting the agentOptions .
I am not sure when I am passing the agentOptions in the Get request, still not able to set them.
Does someone else getting this error too while trying to send Certificates in the GET call.