Hello,

On Thu, Sep 8, 2011 at 13:27,  <j.witvl...@mindef.nl> wrote:
> According to the openvpn-docu, (at the server-side) one of their environment 
> variables, "tls_id_0" should contain the hexadecimal value of the certificate.
> In reality in contains completely other fields, like CN=, OU=, O= and C=.

I guess the tls_id_0 should contain exactly this, the subject of the
certificate?

> Is there any tool to lookup the serialnumber of a certificate stored on a 
> smartcard directly?
> I know I can export the certificate manually and use openssl to analyse it, 
> but can it be done with one of the pkcs* open opensc* tools?

pkcs15-tool --read-certificate <num> | openssl x509 -text
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to