Skip to content

On-premise endpoint: UNABLE_TO_VERIFY_LEAF_SIGNATURE  #35

@brighterdevelopment

Description

@brighterdevelopment

We are tryingto use Busla's forked version to query our on-premise CartoDB instance at https://cartodb.brighterdevelopment.com

We tried a very simple test:

'use strict';
var CartoDB = require('cartodb');
exports.init = function(req, res){
var client = new CartoDB({user:"demo-admin",cartodb_url:"https://cartodb.brighterdevelopment.com", api_key:"OUR_API_KEY_GOES_HERE"});
var outputRows = function(err, data) {
// do something
};
client.on('connect', function() {
client
.query("select * from {table} limit 5", {table: 'ne_10m_populated_places_simple'}, outputRows)
});
client.connect();
};

NOTE: we also tested with the alternative parameter, "api_url", via the Master branch of cartodb-nodejs

We receive this error:

Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE
at SecurePair. (tls.js:1367:32)
at SecurePair.emit (events.js:92:17)
at SecurePair.maybeInitFinished (tls.js:979:10)
at CleartextStream.read as _read
at CleartextStream.Readable.read (_stream_readable.js:340:10)
at EncryptedStream.write as _write
at doWrite (_stream_writable.js:225:10)
at writeOrBuffer (_stream_writable.js:215:5)
at EncryptedStream.Writable.write (_stream_writable.js:182:11)
at write (_stream_readable.js:601:24)

Any help would be HUGELY appreciated.
Our goals is to query our on premise-instance via https.
We are open to any / all approaches.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions