curl: (60) Peer's Certificate issuer is not recognized.

Jmnote (토론 | 기여)님의 2022년 10월 27일 (목) 16:55 판 (→‎개요)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요[ | ]

curl: (60) Peer's Certificate issuer is not recognized.
[root@localhost ~]# curl https://localhost:9200
curl: (60) Peer's Certificate issuer is not recognized.
More details here: http://curl.haxx.se/docs/sslcerts.html
...
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
[root@localhost ~]# curl https://localhost:9200 -k
Unauthorized
[root@localhost ~]# curl https://localhost:9200 -k -u admin:admin
{
  "name" : "5bee8264a65f",
  "cluster_name" : "cluster1",
  "cluster_uuid" : "ImWOEJTCR9G32oKTizMnCQ",
...
  "tagline" : "You Know, for Search"
}

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}