mirror of https://github.com/nodejs/node.git
without this the server will not advertise support for client certs
Closes GH-774.pull/22966/head
parent
12c02b378d
commit
2a61e1cd49
|
@ -297,6 +297,7 @@ Handle<Value> SecureContext::AddCACert(const Arguments& args) {
|
|||
if (!x509) return False();
|
||||
|
||||
X509_STORE_add_cert(sc->ca_store_, x509);
|
||||
SSL_CTX_add_client_CA(sc->ctx_, x509);
|
||||
|
||||
X509_free(x509);
|
||||
|
||||
|
|
Loading…
Reference in New Issue