emqx / MQTTX

A Powerful and All-in-One MQTT 5.0 client toolbox for Desktop, CLI and WebSocket.
https://mqttx.app
Apache License 2.0
3.93k stars 449 forks source link

[Help] BAD_DECRYPT. How to add pass phrase in MQTT app? #1781

Closed letruonglamit closed 1 month ago

letruonglamit commented 1 month ago

How to add pass phrase in MQTTX app?

When I try to connect to my server by MQTTX, I got this error: Error: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT Screen Shot 2024-10-23 at 12 39 06

I am thinking that I am using pass phrase for certs and I missed it. Because when I try to connect by mosquitto_pub, I need to enter pass phrase to make it work

How to I can add them in MQTTX app? Here is my configs Screen Shot 2024-10-23 at 12 42 58

letruonglamit commented 1 month ago

I want to close it. The solution that I need to convert client.key to a new key without pass phrase: openssl rsa -in client.key -out client-without-pass-phrase.key

ysfscream commented 1 month ago

@letruonglamit glad to see you have found the solutions.