mosquitto
mosquitto copied to clipboard
Add PKCS11 URL as a possible TLS key
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]
can someone help me? https://github.com/eclipse/mosquitto/issues/2646