I'm not sure that I'm following the issue.
You have the CRT & KEY files that are registered in RavenDB? (the certificate zip contains both the .crt, .key file pair and a .pfx file).
You need to provide them to the document store, let's assume that you have them in string form, in this case you can use this code sample.
Note that the CRT file contains the -----BEGIN CERTIFICATE-----
And the KEY file contains the
-----BEGIN RSA PRIVATE KEY-----You can just concat them and paste them here
const {DocumentStore, Certificate} = require('ravendb');
const certificate = `
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
`;
let authOptions = {
certificate,
type: "pem",
password: "my passphrase" // optional
};
let store = new DocumentStore('url', 'databaseName', authOptions);