Difference between revisions of "Curl http://localhost:8080/api/"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
 
  }%
 
  }%
  
== Erros ==
+
== Errors ==
 
  curl https://localhost:8080/api/
 
  curl https://localhost:8080/api/
 
  curl: (60) [[SSL certificate problem: unable to get local issuer certificate]]
 
  curl: (60) [[SSL certificate problem: unable to get local issuer certificate]]
Line 26: Line 26:
 
== Related ==
 
== Related ==
 
* <code>[[curl --insecure]]</code>
 
* <code>[[curl --insecure]]</code>
 +
 +
== Activities ==
 
* [[Access Kubernetes REST API using default token]]
 
* [[Access Kubernetes REST API using default token]]
  

Latest revision as of 18:41, 21 October 2023

curl http://localhost:8080/api/
Client sent an HTTP request to an HTTPS server.
curl --insecure https://localhost:8080/api/
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "forbidden: User \"system:anonymous\" cannot get path \"/api/\"",
  "reason": "Forbidden",
  "details": {},
  "code": 403
}%

Errors[edit]

curl https://localhost:8080/api/
curl: (60) SSL certificate problem: unable to get local issuer certificate
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.

Related[edit]

Activities[edit]

See also[edit]

Advertising: