Host name doesn't match certificate subject



  • Hello,

    I'm trying to export my self-signed certificate with your app.
    I have the following warning:

    Host name "foo.bar" doesn't match certificate subject (according to BrowserCompatHostnameVerifier)!

    I don't understand this.


  • developer

    What is your certificate subject? Which host name is it issued for?



  • But what is a certificate subject ?
    It concern this domain: xanatos.fr


  • developer

    But what is a certificate subject ?

    Please understand that this is an issue tracker and not a tutorial or beginners forum about certificates.

    The certificate at https://xanatos.fr is issued for "C=fr":

    $ openssl s_client -host xanatos.fr -port 443
    CONNECTED(00000003)
    depth=0 C = fr, ST = FRANCE, O = xanacorp
    verify error:num=18:self signed certificate
    verify return:1
    depth=0 C = fr, ST = FRANCE, O = xanacorp
    verify return:1
    ---
    Certificate chain
     0 s:/C=fr/ST=FRANCE/O=xanacorp
       i:/C=fr/ST=FRANCE/O=xanacorp
    ---
    

    The certificate is issued for "fr" and not for "xanatox.fr", so the connection will be refused.



  • Hello,
    thanks for your help, I've regenerate the certificate with correct values, it works
    and sorry to congested your issue tracker, you are the most relevant dev for this problem, after all, it's your app


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.