mosquitto icon indicating copy to clipboard operation
mosquitto copied to clipboard

Add PKCS11 URL as a possible TLS key

Open woelfman opened this issue 5 years ago • 1 comments

The current interface expects a file name for the key. This commit allows a PKCS11 URL to pass the setter validation.

The API can be used as in this example:

mosquitto_tls_set(mosq, cafile, capath, certfile, "pkcs11:token=...", pw_callback); mosquitto_string_option(mosq, MOSQ_OPT_TLS_ENGINE, "pkcs11"); mosquitto_string_option(mosq, MOSQ_OPT_TLS_KEYFORM, "engine");

Signed-off-by: Matt Woelfel [email protected]

woelfman avatar Sep 09 '20 15:09 woelfman

can someone help me? https://github.com/eclipse/mosquitto/issues/2646

marco99asr avatar Oct 07 '22 15:10 marco99asr