nolar / kopf

A Python framework to write Kubernetes operators in just a few lines of code

Home Page:https://kopf.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ssl certificate error

Amogha-ark opened this issue · comments

Keywords

Ssl certificate error

Problem

When i try to deploy my operator on k8 cluster, it’s throwing error like ssl certificate like clientconnectorcertificateerror(connectionkey(host='10.xxxxxx', port=443, is_ssl=true, ssl=none, proxy=none, proxy_auth=none, proxy_headers_hash=xxxxxxxxxx), sslcertverificationerror(1, '[ssl: certificate_verify_failed] certificate verify failed: unable to get issuer certificate (_ssl.c:1131)'))
Basically it’s trying to do GET request to kubernetes api and hitting with this error !!
Should I need to configure anything on kopf ?

I just encountered the same issue, how to fix it? how to disable the verify on ssl?