existing certificate
import certificate
#kubectl create secret tls example-secret --key cert/xxx.key --cert cert/xxx.pem
note that the name and suffix can be changed, such as the possibility that the certificate suffix is CRT.
ingressde yaml file configuration example:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: example
spec:
tls:
- hosts:
- www.example.com
secretName: example-secret
rules:
- host: www.example.com
http:
paths:
- backend:
serviceName: example
servicePort: 80
Check
h4>
kubectl get secret
self-generated certificate
kubectl get secret
can do its own ca, generate its own certificate,. But this way your debugging can also used as a production environment, most browsers will prompt site is not safe, you can configure the browser to trust your own ca, but other users can’t all such operations, so you can go to some free certificate application website to apply for free use, although there is a life, but also is a kind of emergency plans.
Read More:
- Configure HTTPS and self signed certificate for nginx
- Idea svn connection https error report: E230001: Server SSL certificate verification failed: certificate issued
- K8s error in installing calico plug-in
- Installation of k8s Helm
- Error from server (alreadyexists) clusterrolebindings.rbac.authorization .k8s.io “kubelet
- When we crawl to the HTTPS website, the SSL certificate error is solved
- How to Solve K8S Error getting node
- Common errors in k8s initialization_ [WARNING NumCPU]_ [WARNING SystemVerification]_ WARNING Hostname
- K8s deployment Kafka has been reporting errors.
- Summary of k8s single master cluster deployment
- python3 request module https certificate verify failed error
- cURL error 60: SSL certificate problem: self signed certificate in certificate chain
- The deployment of etcd storage and flannel network configuration for kubernetes / k8s multi node deployment
- K8s deployment of single node Nacos error server is down now, please try again later
- SAP ABAP HTTPS installation certificate to SAP application server
- wget Error: ERROR: cannot verify nih.at’s certificate, issued by “/C=US/O=Let‘s Encrypt/CN=R3”
- for k, v in k_map: ValueError: too many values to unpack (expected 2)
- Spark login error unable to verify certificate and certificate host name verification failed
- svn: E230001: Server SSL certificate verification failed: certificate issued
- Was import certificate — error prompt: java.security.cert .CertPathValidatorException: Certificate chaining error