This does not disable regular error logging, but instead gives an easy access to the error via a secondary output so we can immediately add retry logic without going through a error catch node.
This also introduces a config option for the config node that allows to use a different way of checking the ssl certificate of a mongodb server. This check does:
function checkServerIdentity(servername, cert) {
if (servername !== String(cert.subject.CN)) {
return 'servername \'' + servername + '\' does not equal CN \''
+ cert.subject.CN + '\' of server cert.';
}
return undefined;
}
which allows for use of SSL certificates that were created to be used for checking against CN.
This does not disable regular error logging, but instead gives an easy access to the error via a secondary output so we can immediately add retry logic without going through a error catch node.
This also introduces a config option for the config node that allows to use a different way of checking the ssl certificate of a mongodb server. This check does:
which allows for use of SSL certificates that were created to be used for checking against CN.