# Issue connecting client to open source production server

**URL:** https://hub.mender.io/t/issue-connecting-client-to-open-source-production-server/7281
**Category:** General Discussions
**Created:** [October 28, 2024, 4:32pm UTC](https://hub.mender.io/t/issue-connecting-client-to-open-source-production-server/7281 "2024-10-28T16:32:45Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![G462](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@G462](https://hub.mender.io/u/G462)
#### Post date: [November 4, 2024, 4:05pm UTC](https://hub.mender.io/t/issue-connecting-client-to-open-source-production-server/7281/6 "2024-11-04T16:05:41Z")

</div>

The logs are slightly different using [https://192.168.2.114](https://192.168.2.114):

> Nov 04 08:51:20 client mender-auth[13352]: using interface /sys/class/net/eth0
> 
> Nov 04 08:51:20 client mender-auth[2338]: record\_id=1040 severity=info time=“2024-Nov-04 08:51:20.323808” name=“Global” msg=“Signing with: /var/lib/mender/mender-agent.pem”
> 
> Nov 04 08:51:20 client mender-auth[2338]: record\_id=1041 severity=error time=“2024-Nov-04 08:51:20.505267” name=“http\_client” url=“[https://192.168.2.114/api/devices/v1/authentication/auth\_requests](https://192.168.2.114/api/devices/v1/authentication/auth_requests)” msg=“https: Failed to perform the SSL handshake: certificate verify failed”
> 
> Nov 04 08:51:20 client mender-auth[2338]: record\_id=1042 severity=info time=“2024-Nov-04 08:51:20.505836” name=“Global” msg="Authentication error trying server ‘[https://192.168.2.114](https://192.168.2.114)’: certificate verify failed: POST [https://192.168.2.114/api/devices/v1/authentication/auth\_requests:](https://192.168.2.114/api/devices/v1/authentication/auth_requests:) "
> 
> Nov 04 08:51:20 client mender-auth[2338]: record\_id=1043 severity=error time=“2024-Nov-04 08:51:20.505988” name=“Global” msg=“Failed to fetch new token: Authentication error: No more servers to try for authentication”

I tried running the curl command on the server to check API access:

> curl -v -X POST [https://hosted.mender.io/api/management/v1/useradm/auth/login](https://hosted.mender.io/api/management/v1/useradm/auth/login)   
> -H ‘Content-Type: application/json’   
> -H ‘Accept: application/jwt’

and received the following:

> {“error”:“invalid or missing auth header”,“request\_id”:“ac8cd6d0-907a-4a73-a324-6522bdbe3c32”}

Should this have generated a JWT token? How can I get a valid JWT token?

---

_[View the full topic](https://hub.mender.io/t/issue-connecting-client-to-open-source-production-server/7281)._
