*SSL: no alternative certificate subject name matches target hostname* #11

Closed
opened 2026-11-26 00:14:39 +01:00 by Benjamin_Loison · 5 comments
Owner

issues/3#issuecomment-2302 and next issue comments do not help.

curl https://etesync.lemnoslife.com
Output:
curl: (60) SSL: no alternative certificate subject name matches target hostname 'etesync.lemnoslife.com'
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the webpage mentioned above.
[issues/3#issuecomment-2302](https://gitea.lemnoslife.com/Benjamin_Loison/curl/issues/3#issuecomment-2302) and next issue comments do not help. ```bash curl https://etesync.lemnoslife.com ``` <details> <summary>Output:</summary> ``` curl: (60) SSL: no alternative certificate subject name matches target hostname 'etesync.lemnoslife.com' More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the webpage mentioned above. ``` </details>
Author
Owner

On Debian 13 OverClock3000 flat Wi-Fi.

On Debian 13 OverClock3000 flat Wi-Fi.
Author
Owner

Firefox certificate seems decent.

Firefox certificate seems decent.
Author
Owner

https://matrix.to/#/!sNARMdEsFZERaQAJzl:matrix.org/$G3h8ITavxexuVcsIgWe4SC7JIubwn6ilnaULrk1aNdM:

Error:
Traceback (most recent call last):
  File "/home/benjamin_loison/notifications/./notifyOnEdfUpdate.py", line 44, in <module>
    etebase = Account.login(client, USERNAME, PASSWORD)
  File "/home/benjamin_loison/venv/lib/python3.13/site-packages/etebase/__init__.py", line 91, in login
    return cls(etebase_python.Account.login(client._inner, username, password))
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
etebase_python.Error: error sending request for url (https://etesync.lemnoslife.com/api/v1/authentication/login_challenge/): error trying to connect: error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:2091: (hostname mismatch)
https://matrix.to/#/!sNARMdEsFZERaQAJzl:matrix.org/$G3h8ITavxexuVcsIgWe4SC7JIubwn6ilnaULrk1aNdM: <details> <summary>Error:</summary> ``` Traceback (most recent call last): File "/home/benjamin_loison/notifications/./notifyOnEdfUpdate.py", line 44, in <module> etebase = Account.login(client, USERNAME, PASSWORD) File "/home/benjamin_loison/venv/lib/python3.13/site-packages/etebase/__init__.py", line 91, in login return cls(etebase_python.Account.login(client._inner, username, password)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ etebase_python.Error: error sending request for url (https://etesync.lemnoslife.com/api/v1/authentication/login_challenge/): error trying to connect: error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:2091: (hostname mismatch) ``` </details>
Author
Owner

On Debian 13 GNOME Framework 13 flat Wi-Fi:

curl https://etesync.lemnoslife.com
Output:
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>It works!</title>
  </head>
  <body>
    <h1>It works!</h1>
    <p>
    Please refer to the <a href="https://github.com/etesync/server/">[README](https://github.com/etesync/server/)</a> to complete the final steps if you haven't done so already.
    </p>
  </body>
</html>
On Debian 13 GNOME Framework 13 flat Wi-Fi: ```bash curl https://etesync.lemnoslife.com ``` <details> <summary>Output:</summary> ```html <!DOCTYPE html> <html lang="en"> <head> <title>It works!</title> </head> <body> <h1>It works!</h1> <p> Please refer to the <a href="https://github.com/etesync/server/">[README](https://github.com/etesync/server/)</a> to complete the final steps if you haven't done so already. </p> </body> </html> ``` </details>
Author
Owner

On OverClock3000:

curl https://etesync.lemnoslife.com
Output:
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>It works!</title>
  </head>
  <body>
    <h1>It works!</h1>
    <p>
    Please refer to the <a href="https://github.com/etesync/server/">[README](https://github.com/etesync/server/)</a> to complete the final steps if you haven't done so already.
    </p>
  </body>
</html>

once remove from /etc/hosts:

127.0.0.1 etesync.lemnoslife.com

as EteSync server now runs on LemnosLife OVH VPS.

I only face today the issue as it is the first red day to trigger this issue.

On OverClock3000: ```bash curl https://etesync.lemnoslife.com ``` <details> <summary>Output:</summary> ```html <!DOCTYPE html> <html lang="en"> <head> <title>It works!</title> </head> <body> <h1>It works!</h1> <p> Please refer to the <a href="https://github.com/etesync/server/">[README](https://github.com/etesync/server/)</a> to complete the final steps if you haven't done so already. </p> </body> </html> ``` </details> once remove from `/etc/hosts`: ``` 127.0.0.1 etesync.lemnoslife.com ``` as EteSync server now runs on LemnosLife OVH VPS. I only face today the issue as it is the first red day to trigger this issue.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Benjamin_Loison/curl#11