You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you manage ca, cert and key "field" from superagent to enable the mutual ssl authentication.
In the actual version (4.3.0) these fields are available, but seems not to be realayed to superagent.
eg:
superagent
.get(url)
.ca(cacertbuffer)
.cert(clientcertbuffer)
.key(clientkeybuffer)
.end((error, response) => {
...
})
sends the request with certificate to the server
but :
chai.request(serverUrl)
.get(urlPath)
.ca(cacertbuffer)
.cert(clientcertbuffer)
.key(clientkeybuffer)
.end((error, response) => {
...
})
only sends the request without any certificate (but is steel valid for Node).
Thanks
Regards.
The text was updated successfully, but these errors were encountered:
Could you manage ca, cert and key "field" from superagent to enable the mutual ssl authentication.
In the actual version (4.3.0) these fields are available, but seems not to be realayed to superagent.
eg:
superagent
.get(url)
.ca(cacertbuffer)
.cert(clientcertbuffer)
.key(clientkeybuffer)
.end((error, response) => {
...
})
sends the request with certificate to the server
but :
chai.request(serverUrl)
.get(urlPath)
.ca(cacertbuffer)
.cert(clientcertbuffer)
.key(clientkeybuffer)
.end((error, response) => {
...
})
only sends the request without any certificate (but is steel valid for Node).
Thanks
Regards.
The text was updated successfully, but these errors were encountered: