On 28.09.2009, at 0:14, gilles Bernabé wrote:
> and when i want to load the cert:
>
> "r...@admin1-laptop:~/JavaCard_SDK2# pkcs15-init -X moi2.crt -v -a 1
> error:0906D06C:PEM routines:PEM_read_bio:no start line
> error: Unable to read certificate from moi2.crt

You have a DER encoded certificate.

pkcs15-init knows this argument:
   --format, -f <arg>            Specify key/cert file format: PEM  
(=default), DER or PKCS12

-- 
Martin Paljak
http://martin.paljak.pri.ee
+372.515.6495




_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to