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
ssl.crt
Description: application/pkix-cert
_______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help
