Skip to content

TLS certificate verification failed: hostname mismatch on IDN #2049

@mrusme

Description

@mrusme

After digging through how Ejabberd and, to that extent, XMPP is handling IDNs, I have switched from using a punycode domain (xn--gckvb8fzb.com) to the unicode representation (マリウス.com). Upon connecting to the new account with Profanity, however, I'm now getting the following error:

15:46:34 - Connecting with account marius as marius@マリウス.com/profanity.Aojj
15:46:36 -
15:46:36 - TLS certificate verification failed: hostname mismatch
15:46:36 - Certificate:
15:46:36 -   Subject:
15:46:36 -     Common name        : xn--gckvb8fzb.com
15:46:36 -   Issuer:
15:46:36 -     Common name        : E5
15:46:36 -     Organisation       : Let's Encrypt
15:46:36 -     Country            : US
15:46:36 -   Version             : 3
15:46:36 -   Serial number       : 06EEFFFBA22B4909933291398261B3EE8017
15:46:36 -   Key algorithm       : id-ecPublicKey
15:46:36 -   Signature algorithm : ecdsa-with-SHA384
15:46:36 -   Start               : Jul 10 19:04:37 2025 GMT
15:46:36 -   End                 : Oct  8 19:04:36 2025 GMT
15:46:36 -   Fingerprint         : 31266909a7d1748f09e6f0b31c2cb0705122cb8f

While I could simply /tls always, I'm still wondering why this messages shows up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions