Re: [opensc-devel] Invalid slot number during SSL cert generation on card

2010-03-16 Thread Andreas Jellinghaus
Am Dienstag 16 März 2010 15:30:41 schrieb Jean-Michel Pouré - GOOZE: > Le mardi 16 mars 2010 à 15:18 +0100, Andreas Jellinghaus a écrit : > > can you test this patch? > > > > Thanks, Andreas > > Works perfectly. ok, thanks for testing. commited to trunk. Regards, Andreas

Re: [opensc-devel] Invalid slot number during SSL cert generation on card

2010-03-16 Thread Andreas Jellinghaus
Am Dienstag 16 März 2010 15:41:04 schrieb Jean-Michel Pouré - GOOZE: > For info, after applying your last patch, this command: > OpenSSL> req -engine pkcs11 -new -key > id_c6f280080fb0ed1ebff0480a01d00a98a1b3b89a -keyform engine -x509 -out > cert.pem -text > engine "pkcs11" set. > Invalid slot numb

Re: [opensc-devel] Invalid slot number during SSL cert generation on card

2010-03-16 Thread Jean-Michel Pouré - GOOZE
Le mardi 16 mars 2010 à 15:18 +0100, Andreas Jellinghaus a écrit : > can you test this patch? > > Thanks, Andreas For info, after applying your last patch, this command: OpenSSL> req -engine pkcs11 -new -key id_c6f280080fb0ed1ebff0480a01d00a98a1b3b89a -keyform engine -x509 -out cert.pem -text en

Re: [opensc-devel] Invalid slot number during SSL cert generation on card

2010-03-16 Thread Jean-Michel Pouré - GOOZE
Le mardi 16 mars 2010 à 15:30 +0100, Jean-Michel Pouré - GOOZE a écrit : > > Thanks, Andreas Sorry, I missed my answer with the long signature. I am going to remove it. -- Jean-Michel Pouré - jmpo...@gooze.eu ___ opensc-devel mailin

Re: [opensc-devel] Invalid slot number during SSL cert generation on card

2010-03-16 Thread Jean-Michel Pouré - GOOZE
Le mardi 16 mars 2010 à 15:18 +0100, Andreas Jellinghaus a écrit : > can you test this patch? > > Thanks, Andreas Works perfectly. Kind regards, Jean-Michel ** pkcs15-tool --list-public-keys Using reader with a card: Feitian SCR301 01 00 Publ

Re: [opensc-devel] Invalid slot number during SSL cert generation on card

2010-03-16 Thread Andreas Jellinghaus
Am Dienstag 16 März 2010 14:56:27 schrieb Jean-Michel Pouré - GOOZE: > Le mardi 16 mars 2010 à 14:54 +0100, Andreas Jellinghaus a écrit : > > > You must specify a slot ID > > > > pkcs11-tool printed that last line? > > Confirmed. Okay, I am opening a bug. Thanks for the help! can you test this pa

Re: [opensc-devel] Invalid slot number during SSL cert generation on card

2010-03-16 Thread Jean-Michel Pouré - GOOZE
Le mardi 16 mars 2010 à 14:54 +0100, Andreas Jellinghaus a écrit : > > You must specify a slot ID > > pkcs11-tool printed that last line? Confirmed. Okay, I am opening a bug. Thanks for the help! -- Jean-Michel Pouré - jmpo...@gooze.eu ___

Re: [opensc-devel] Invalid slot number during SSL cert generation on card

2010-03-16 Thread Andreas Jellinghaus
Am Dienstag 16 März 2010 14:44:36 schrieb Jean-Michel Pouré - GOOZE: > pkcs11-tool --list-slots > Available slots: > Slot 4294967295 Virtual hotplug slot ... > You must specify a slot ID pkcs11-tool printed that last line? looks like a bug to me, for other operations: sure, you need to sp

Re: [opensc-devel] Invalid slot number during SSL cert generation on card

2010-03-16 Thread Jean-Michel Pouré - GOOZE
Le mardi 16 mars 2010 à 14:41 +0100, Andreas Jellinghaus a écrit : > pkcs11-tool --list-slots (or something like that) > will show you what slots you have. pkcs11-tool --list-slots Available slots: Slot 4294967295 Virtual hotplug slot (empty) Slot 1 OmniKey CardMan 4321 00 00

Re: [opensc-devel] Invalid slot number during SSL cert generation on card

2010-03-16 Thread Andreas Jellinghaus
pkcs11-tool --list-slots (or something like that) will show you what slots you have. Regards, Andreas ___ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel

[opensc-devel] Invalid slot number during SSL cert generation on card

2010-03-16 Thread Jean-Michel Pouré - GOOZE
Dear Friends, I am trying to create a self-signed certificate using Feitian cryptographic engine: > OpenSSL>engine dynamic -pre SO_PATH:/usr/lib/engines/engine_pkcs11.so > -pre ID:pkcs11 -pre LIST_ADD:1 -pre LOAD -pre > MODULE_PATH:opensc-pkcs11.so > (dynamic) Dynamic engine loading support > [Su