[#ENGINE_load_ssl_client_cert]
= ENGINE&lowbar;load&lowbar;ssl&lowbar;client&lowbar;cert
:mrdocs:

Load an SSL client certificate and key via an ENGINE (deprecated)&period;

== Synopsis

Declared in `&lt;openssl&sol;engine&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
ENGINE&lowbar;load&lowbar;ssl&lowbar;client&lowbar;cert(
    xref:ENGINE.adoc[ENGINE]* e,
    xref:SSL.adoc[SSL]* s,
    xref:stack_st_X509_NAME.adoc[stack&lowbar;st&lowbar;X509&lowbar;NAME]* ca&lowbar;dn,
    xref:X509.adoc[X509]** pcert,
    xref:EVP_PKEY.adoc[EVP&lowbar;PKEY]** ppkey,
    xref:stack_st_X509.adoc[stack&lowbar;st&lowbar;X509]** pother,
    xref:UI_METHOD.adoc[UI&lowbar;METHOD]* ui&lowbar;method,
    void* callback&lowbar;data);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *e*
| Initialised ENGINE that implements SSL client&hyphen;cert loading&period;
| *s*
| SSL connection requesting a client certificate&period;
| *ca&lowbar;dn*
| Acceptable CA names from the server, or NULL&period;
| *pcert*
| Receives the selected client certificate&period;
| *ppkey*
| Receives the matching private key&period;
| *pother*
| Optional stack receiving additional chain certificates, or NULL&period;
| *ui&lowbar;method*
| UI method for PIN&sol;passphrase prompts, or NULL&period;
| *callback&lowbar;data*
| Application pointer passed to `ui&lowbar;method&period;`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
