Fredrik Jansson
2014-10-13 11:48:34 UTC
Hi!
I have a device where I cannot access the client certificate's private
key directly, but have access to verification and signature functions.
The certificate, in DER format, is accessible.
I need to use client certificates in my TLS connection and found the
SSL_CTX_set_client_cert_cb function. I can convert the encoded cert to
a X509 structure and return that, but I cannot provide it with a
EVP_PKEY object.
Is there any way I can instruct any of the SSL_CTX, SSL or EVP_PKEY
objects to call a signature function (that I provide) during the
handshake?
Best regards,
Fredrik Jansson
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users-MCmKBN63+***@public.gmane.org
Automated List Manager majordomo-MCmKBN63+***@public.gmane.org
I have a device where I cannot access the client certificate's private
key directly, but have access to verification and signature functions.
The certificate, in DER format, is accessible.
I need to use client certificates in my TLS connection and found the
SSL_CTX_set_client_cert_cb function. I can convert the encoded cert to
a X509 structure and return that, but I cannot provide it with a
EVP_PKEY object.
Is there any way I can instruct any of the SSL_CTX, SSL or EVP_PKEY
objects to call a signature function (that I provide) during the
handshake?
Best regards,
Fredrik Jansson
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users-MCmKBN63+***@public.gmane.org
Automated List Manager majordomo-MCmKBN63+***@public.gmane.org