OQS_Provider with MQTT #433
Unanswered
NarjasHadjer
asked this question in
Q&A
Replies: 1 comment 4 replies
-
This error message indicates most likely that |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on integrating OQS_Provider with MQTT on a Raspberry Pi 3B+. I have created the CA and the server certificate, and I have signed it with the CA. However, when I start Mosquitto, it returns the error: OpenSSL Error[0]: error:0A0000F7
routines::unknown certificate type (Sorry, I can't take screenshots on the Raspberry Pi because it's buggy, but I will provide the openssl.cnf and mosquitto.cnf configuration files and i took pictures with my phone
openssl.cnf : i added these lines to the default configuration
[provider_sect]
legacy = legacy_sect
oqsprovider = oqsprovider_sect
[default_sect]
activate = 1
[legacy_sect]
activate = 1
[oqsprovider_sect]
activate = 1
[openssl_init]
providers = provider_sect
ssl_conf = ssl_sect
[ssl_sect]
system_default = system_default_sect
[system_default_sect]
CipherString = DEFAULT:@SECLEVEL=2 ( i put here 0, cause i had an error : ca md too weak when i tried to run mosquitto first time)
Groups = kyber768:kyber1024
mosquitto.conf : I added these lines to the default configuration
istener 1883
listener 8883
protocol mqtt
cafile /home/narjas/certif/Certificate_CA.crt
keyfile /home/narjas/certif/Server.key
certfile /home/narjas/certif/Certificate.crt
use_identity_as_username true
require_certificate true
tls_version tlsv1.3
And even when i run the test given, i get the same error :
Beta Was this translation helpful? Give feedback.
All reactions