read cert from smart card

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Wed Feb 24 22:57:15 PST 2016


On Wed, Feb 24, 2016 at 2:19 PM, Mithat Bozkurt <mithatbozkurt at gmail.com> wrote:
> I am running on ubuntu
>
> mithat at adige:/etc/pkcs11/modules$  p11tool --export
> 'pkcs11:serial=0036218D34081A32;object=62917107586SIGN0;type=cert' |
> openssl x509 -noout -text
> Error in pkcs11_export:257: The requested data were not available.
> unable to load certificate
> 139988361840272:error:0906D06C:PEM routines:PEM_read_bio:no start
> line:pem_lib.c:701:Expecting: TRUSTED CERTIFICATE

Could you add the -d 4 parameters to p11tool export command, and also
mention the version of p11tool (output of p11tool --version)?


regards,
Nikos



More information about the openconnect-devel mailing list