# Connection to JAMS server impossible

**URL:** <https://forum.jami.net/t/connection-to-jams-server-impossible/1683>\
**Category:** JAMS\
**Created:** [December 14, 2022, 9:42am UTC](https://forum.jami.net/t/connection-to-jams-server-impossible/1683 "2022-12-14T09:42:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ziggy](https://forum.jami.net/letter_avatar_proxy/v4/letter/z/e79b87/32.png) [@ziggy](https://forum.jami.net/u/ziggy)\
**Post date:** [December 14, 2022, 9:42am UTC](https://forum.jami.net/t/connection-to-jams-server-impossible/1683/1 "2022-12-14T09:42:38Z")

</div>

Hello all,

I open a new topic about my problem.  
My goal is to deploy a JAMS server on my local network. During the installation, I haven’t see any error. I created myself a key and a certificate through openssl.  
Once JAMS and Jami installed, I tried to login on Jami and I have an error “Error while creating your account. Check your credentials”  
On the JAMS side this eror appears “] WARN net.jami.jams.server.update.UpdateCheckTask - Could not establish connection to JAMS Update Center with error: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”

Probably an error with my certificate ?  
Please, Can someone help me ?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![lsl42](https://forum.jami.net/letter_avatar_proxy/v4/letter/l/7993a0/32.png) [@lsl42](https://forum.jami.net/u/lsl42)\
**Post date:** [January 2, 2024, 1:43am UTC](https://forum.jami.net/t/connection-to-jams-server-impossible/1683/2 "2024-01-02T01:43:30Z")

</div>

can you help me?  
i have some likely problems

---

<div class="post-metadata">

**Author:** ![lsl42](https://forum.jami.net/letter_avatar_proxy/v4/letter/l/7993a0/32.png) [@lsl42](https://forum.jami.net/u/lsl42)\
**Post date:** [January 2, 2024, 3:42am UTC](https://forum.jami.net/t/connection-to-jams-server-impossible/1683/3 "2024-01-02T03:42:53Z")

</div>

please setup jdk 11，test！

---

<div class="post-metadata">

**Author:** ![lbogino](https://forum.jami.net/user_avatar/forum.jami.net/lbogino/32/738_2.png) [@lbogino](https://forum.jami.net/u/lbogino)\
**Post date:** [January 9, 2024, 10:20pm UTC](https://forum.jami.net/t/connection-to-jams-server-impossible/1683/4 "2024-01-09T22:20:01Z")

</div>

Hello @ziggy and @lsl42

Thank you for letting us know.  
It seems you are facing an issue related to SSL certificates while trying to establish a connection to the JAMS Update Center. The error message sounds like a problem with the SSL handshake and the certificate path.

- For the certificate validation, double-check that the certificate you generated using OpenSSL is correctly installed on both the JAMS server and Jami.
- As for the certificate chain, ensure that the certificate chain is complete. It should include the server certificate, any intermediate certificates, and the root certificate.
- Also check the SSL/TLS configuration on both the JAMS server and Jami to make sure they are compatible.
- Ensure that the JAMS server is configured to use the correct truststore that contains the root CA certificate and any intermediate certificates.
- If the JAMS Update Center uses a specific URL, make sure that it is reachable from your network and that there are no firewall or network-related issues.
- Our developer thinks it’s a self-signed certificate (so not supported by Jami) since it will try to validate the CA. Ideally, you’d generate a non-self-signed certificate (let’s encrypt offers free ones).

Let me know if this helps. 🙂

Loïc,  
Jami Community Manager.

---

<div class="post-metadata">

**Author:** ![lsl42](https://forum.jami.net/letter_avatar_proxy/v4/letter/l/7993a0/32.png) [@lsl42](https://forum.jami.net/u/lsl42)\
**Post date:** [February 5, 2024, 8:05am UTC](https://forum.jami.net/t/connection-to-jams-server-impossible/1683/5 "2024-02-05T08:05:51Z")

</div>

My Jams server can create users, but the client cannot log in and cannot connect to the server properly

---

<div class="post-metadata">

**Author:** ![lbogino](https://forum.jami.net/user_avatar/forum.jami.net/lbogino/32/738_2.png) [@lbogino](https://forum.jami.net/u/lbogino)\
**Post date:** [February 5, 2024, 6:32pm UTC](https://forum.jami.net/t/connection-to-jams-server-impossible/1683/6 "2024-02-05T18:32:03Z")

</div>

Hello @lsl42

I’ve answered you in your own post.

Loïc.

---

<div class="post-metadata">

**Author:** ![sblin](https://forum.jami.net/user_avatar/forum.jami.net/sblin/32/19_2.png) [@sblin](https://forum.jami.net/u/sblin)\
**Post date:** [February 5, 2024, 6:32pm UTC](https://forum.jami.net/t/connection-to-jams-server-impossible/1683/7 "2024-02-05T18:32:25Z")

</div>

self-signed certificate?

What does the log says. Cause the client is simply doing a http request, so you can see it in the logs (and the related error)
