Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Openssl encryption padding #729

Open
leodario7 opened this issue Jun 19, 2023 · 1 comment
Open

Issue with Openssl encryption padding #729

leodario7 opened this issue Jun 19, 2023 · 1 comment

Comments

@leodario7
Copy link

leodario7 commented Jun 19, 2023

Hello,

I am currently running version 0.3.5 on Ubuntu 22.04

I am using some self-signed certificates created with RSA. They have been working fine for a while, but since they expired I created new ones, and updated them in the app (using the same path).

For some reason they do not seem to work, either the certificates are not loaded correctly, or something else, because the broker logs the following error:

1687175952: OpenSSL Error: error:04FFF06A:rsa routines:CRYPTO_internal:block type is not 01
1687175952: OpenSSL Error: error:04FFF072:rsa routines:CRYPTO_internal:padding check failed
1687175952: OpenSSL Error: error:0DFFF006:asn1 encoding routines:CRYPTO_internal:EVP lib
1687175952: OpenSSL Error: error:140360B2:SSL routines:ACCEPT_SR_CERT:no certificate returned
1687175952: Socket error on client , disconnecting.

Additionally, using mosquitto_sub or an alternative GUI such as MQTTx I have no issue connecting, something like the command shown below just works.

mosquitto_sub --cafile ca.crt --cert client.crt --key client.key -d -u USER -P t3cn4l1420A -h examplebroker.dev -p 8883 -t test --debug --insecure -d --tls-version tlsv1.2

@leodario7 leodario7 reopened this Jun 21, 2023
@ilgrank
Copy link

ilgrank commented Jun 21, 2023

The author is not actively maintaining the project anymore since years.
I'm telling you just in case you expect a reply from him.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants