Is there a reason why collection.cert is used instead of collection.chain? That way the intermediate certificate is missing and requests with curl, for example, throw an error. I have now changed
const context = node_tls_1.default.createSecureContext({
key: collection.key,
cert: collection.cert,
});
to
const context = node_tls_1.default.createSecureContext({
key: collection.key,
cert: collection.chain.join(''),
});
in webServer.js on my system to solve that problem.
Is there a reason why collection.cert is used instead of collection.chain? That way the intermediate certificate is missing and requests with curl, for example, throw an error. I have now changed
to
in webServer.js on my system to solve that problem.