Allow SSL connections to bitcoind
This is required as, by default, self-signed certificates are rejected as was commented in #436
This commit is contained in:
parent
26fb622cbe
commit
0d58557cac
@ -163,6 +163,7 @@ function rpc(request, callback) {
|
|||||||
path: '/',
|
path: '/',
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
port: self.port,
|
port: self.port,
|
||||||
|
rejectUnauthorized: false,
|
||||||
agent: self.disableAgent ? false : undefined,
|
agent: self.disableAgent ? false : undefined,
|
||||||
};
|
};
|
||||||
if (self.httpOptions) {
|
if (self.httpOptions) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user