I am using the below code to read serial numbers of revoked crl from a crl list file with ext .crl downloaded.
import forge, { pki, asn1 } from 'node-forge';
const crlFil = asn1.fromDer(crlFile); // crlfile with a .crl extension
console.log(crlFileDer.value[0].value[5].value[0].value[0]);
I am following this guide, but when I try to read the serial no. of revoked certificates, it gives me values that appear to be junk. I am not sure what format it is and want to convert it into the correct value.
Example value received \u0003-\tÊ$v¥L