Re: [opensc-devel] Certificat in opensc.

2009-02-11 Thread Andreas Jellinghaus
Am Mittwoch 11 Februar 2009 12:55:18 schrieb Fleblanc: > First thanks for your answer, > > In fact the problem is when I want to pu a certificat made by openssl in > the card with command > > pkcs15-init.exe -U demoCA\newcerts\0108.pem --id 45 -U ? do you have already a certificate 45 on that card

Re: [opensc-devel] Certificat in opensc.

2009-02-11 Thread Fleblanc
First thanks for your answer, In fact the problem is when I want to pu a certificat made by openssl in the card with command pkcs15-init.exe -U demoCA\newcerts\0108.pem --id 45 opensc answer [pkcs15-init] asn1.c:1207:asn1_decode: mandatory ASN.1 object 'validity' not found [pkcs15-init] asn1

Re: [opensc-devel] Certificat in opensc.

2009-02-11 Thread Andreas Jellinghaus
Please send only text emails to the list, no HTML. Thanks. I can't help with openssl much, your openssl command line call looks ok. But I would use "-in" or what the option was for the file to read instead of "<" redirection. > I've compared the certificat made by opensll and this one read on th

[opensc-devel] Certificat in opensc.

2009-02-11 Thread Fleblanc
Hi there, I don't understand I'va put a certificat made by open in smartcard and get it back, when I try to convert this certificat on text form I got errors, look: C:\Appli\RetD\opensc\bin>openssl x509 -text -inform DER < certificatlue.der unable to load certificate 1148:error:0D07209B:asn