[gnutls-help] GNUTLS_E_PARSING_ERROR when reading PEM, yet is a PKCS11 error?
Max Bruce
max.bruce12 at gmail.com
Wed Aug 12 07:35:44 CEST 2015
Calling code:
int e1 = gnutls_certificate_set_x509_key_file(oc->cert, certj, keyj,
GNUTLS_X509_FMT_PEM);
All looks good from my side, and both certj/keyj are absolute paths to a
certificate & private key in PEM format. It returns -302, which translates
to GNUTLS_E_PARSING_ERROR, of which is under the category of errors "PKCS11
related"
I'll attach a copy of the public key to this, and I can send the private
key to anyone that asks to see it(it's PEM directly from StartCom).
--
Thanks,
Max Bruce
www.avuna.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20150811/50537a7c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssl.crt
Type: application/pkix-cert
Size: 2589 bytes
Desc: not available
URL: </pipermail/attachments/20150811/50537a7c/attachment.bin>
More information about the Gnutls-help
mailing list