# Curl: (60) SSL certificate problem

**URL:** <https://hub.mender.io/t/curl-60-ssl-certificate-problem/6595>\
**Category:** General Discussions\
**Created:** [March 2, 2024, 1:28am UTC](https://hub.mender.io/t/curl-60-ssl-certificate-problem/6595 "2024-03-02T01:28:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![khiemspdt](https://avatars.discourse-cdn.com/v4/letter/k/cdc98d/32.png) [@khiemspdt](https://hub.mender.io/u/khiemspdt)\
**Post date:** [March 2, 2024, 1:28am UTC](https://hub.mender.io/t/curl-60-ssl-certificate-problem/6595/1 "2024-03-02T01:28:31Z")

</div>

Hi,  
I’m trying to connect my device to my server. I follow steps below:

1. MENDER\_SERVER\_URI=‘[https://myserver.com](https://myserver.com)’
2. MENDER\_SERVER\_USER=‘myusername@example.com’
3. JWT=$(curl -X POST -u $MENDER\_SERVER\_USER $MENDER\_SERVER\_URI/api/management/v1/useradm/auth/login)

After this command, log as below :  
% Total % Received % Xferd Average Speed Time Time Time Current  
Dload Upload Total Spent Left Speed  
0 0 0 0 0 0 0 0 --:–:-- 0:00:07 --:–:-- 0  
curl: (60) SSL certificate problem: self signed certificate  
More details here: [curl - SSL CA Certificates](https://curl.haxx.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 web page mentioned above.

I have gone through some similar topic but still cannot find how to solve.  
I would like to know why this give that error or I have missed any steps to do/confirm first ?

Thanks in advance.
