future-restaurant-54259
05/01/2023, 12:33 PMsparse-fireman-14239
05/01/2023, 1:26 PMfreezing-hairdresser-79403
05/01/2023, 2:35 PMfuture-restaurant-54259
05/02/2023, 5:26 AMcurl -u "token-xxxx:pw8txxxxxxxxxxxxxxxxxxxxxxxxxxg2x66fh" \
-X POST \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
'<https://1x.1xx.1xx.1xx/v3/users>'
HTTP/1.1 POST /v3/users
Host: 1x.1xx.1xx.1xx
Accept: application/json
Content-Type: application/json
Content-Length: 307
{
"annotations": {
"<http://lifecycle.cattle.io/create.mgmt-auth-users-controller|lifecycle.cattle.io/create.mgmt-auth-users-controller>": "true"
},
"description": "Test For Rancher Automation",
"enabled": true,
"labels": {
"<http://cattle.io/creator|cattle.io/creator>": "norman"
},
"mustChangePassword": true,
"name": "Rancher Test",
"password": "password123@3545%098g",
"principalIds": [ ],
"username": "ranchertester"
}
But Its Not Working. Getting This As An Error:
curl: (60) SSL certificate problem: self-signed certificate in certificate chain
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 web page mentioned above.
freezing-hairdresser-79403
05/02/2023, 7:49 AM-k
to the curl commandfuture-restaurant-54259
05/02/2023, 8:59 AMfreezing-hairdresser-79403
05/02/2023, 9:36 AMfuture-restaurant-54259
05/02/2023, 9:40 AM