Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 696 Bytes

File metadata and controls

10 lines (7 loc) · 696 Bytes

Error: SSL peer certificate or SSH remote key was not Ok

The proper fix to this, is to set one of these options:

Or you can disable SSL verification with SSL_VERIFYPEER, but this is not recommended.

Starting with node-libcurl v5.0.0, every instance is initialized with default CA certificates from Node.js's tls module, by using the result of the "getCACertificates" function. This is done using CURLOPT_CAINFO_BLOB.