MQT: TLS connection error: 56 - BR_ERR_X509_BAD_SERVER_NAME X.509 status: expected server name was not found in the chain #22893
-
Hello everyone, I updated now to tasmota 14.4.1 (where I had 9.2.0 before; This was working fine with tasmota 9.2.0 and the device connected to the MQTT server. But now with 14.4.1, I can not connect anymore. The connection to the MQTT server fails with How can this be resolved? Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 20 replies
-
TLS mandates that the CN matches the domain name. Re-issue a certificate with the correct domain name |
Beta Was this translation helpful? Give feedback.
-
So, generating a new certificate where the servers IP is added as CN should help. I'll give it a try. |
Beta Was this translation helpful? Give feedback.
-
Somehow this is not working. I ensured that the
I also verified, that the server's certificate is containing the correct CN.
But still, tasmota is showing the error.
What can be the issue here? |
Beta Was this translation helpful? Give feedback.
-
@wewa00 which defines are you using with Tasmota? Thanks |
Beta Was this translation helpful? Give feedback.
-
Looks like I managed that too, right?
|
Beta Was this translation helpful? Give feedback.
@s-hadinger I now managed to create a certificate with SAN, which also works for Tasmota 14.4.1.
These are the steps: