On Wed, Aug 7, 2013 at 6:27 AM, ming <[email protected]> wrote: > Hi, > i have been running a [private|local] CA which also functions as a reverse > proxy. i issue X.509 client-side certs with this CA for programming API > access authentication. Now i am contemplating the implementation of some > simple home-brewed CRL-like revocation mechanism. Obviously that requires > my node.js program to inspect the serial number of the X.509 cert the client > presents. > > However, it is not clear to me what the best way is to get the serial number > of the X.509 cert presented for the incoming request. i've been using the > following: > req.connection.getPeerCertificate().subject > to retrieve subjects but i don't know where to find the serial number of a > cert. > > Thanks.
When you say "serial number", to what specific X.509 field (distinguished name, OID) are you referring? -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
