Using node-x509 [1] and your convertCertToPEM function I'm able to get data from the result.certificate buffer, which I was having some trouble with.
Here is an example:
if (result.successful) {
console.log('certificate', x509.getIssuer(convertCertToPEM(result.certificate)));
Would you like me to add this to the README?
[1] https://github.com/Southern/node-x509
Using node-x509 [1] and your
convertCertToPEMfunction I'm able to get data from theresult.certificatebuffer, which I was having some trouble with.Here is an example:
if (result.successful) {console.log('certificate', x509.getIssuer(convertCertToPEM(result.certificate)));Would you like me to add this to the README?
[1] https://github.com/Southern/node-x509