Environment.
CentOS 7
Question.
In use
curl https://192.168.1.8:6443/api/v1/nodes –cert /etc/kubernetes/pki/apiserver-kubelet-client. crt –key /etc/kubernetes/pki/apiserver-kubelet-client. key –cacert /etc/kubernetes/pki/ca. crt -v
Error NSS error -12190 (SSL_ERROR_PROTOCOL_VERSION_ALERT):
* Connection died, retrying a fresh connect
* Closing connection 0
* Issue another request to this URL: ‘https://192.168.1.8:6443/api/v2/nodes’
* About to connect() to 192.168.1.8 port 6443 (#1)
* Trying 192.168.231.224…
* Connected to 192.168.1.8 (192.168.1.8) port 6443 (#1)
* TLS disabled due to previous handshake failure
* CAfile: /etc/kubernetes/pki/ca. crt
CApath: none
* NSS error -12190 (SSL_ERROR_PROTOCOL_VERSION_ALERT)
* Peer reports incompatible or unsupported protocol version.
* Closing connection 1
How to Fix:
(1) yum update nss nss-util nspr(2)yum update curl
Updating only (1) doesn’t work, it should be that (2) this works (not verified).
CentOS 7
Question.
In use
curl https://192.168.1.8:6443/api/v1/nodes –cert /etc/kubernetes/pki/apiserver-kubelet-client. crt –key /etc/kubernetes/pki/apiserver-kubelet-client. key –cacert /etc/kubernetes/pki/ca. crt -v
Error NSS error -12190 (SSL_ERROR_PROTOCOL_VERSION_ALERT):
* Connection died, retrying a fresh connect
* Closing connection 0
* Issue another request to this URL: ‘https://192.168.1.8:6443/api/v2/nodes’
* About to connect() to 192.168.1.8 port 6443 (#1)
* Trying 192.168.231.224…
* Connected to 192.168.1.8 (192.168.1.8) port 6443 (#1)
* TLS disabled due to previous handshake failure
* CAfile: /etc/kubernetes/pki/ca. crt
CApath: none
* NSS error -12190 (SSL_ERROR_PROTOCOL_VERSION_ALERT)
* Peer reports incompatible or unsupported protocol version.
* Closing connection 1
How to Fix:
(1) yum update nss nss-util nspr(2)yum update curl
Updating only (1) doesn’t work, it should be that (2) this works (not verified).
Reference.
1、https://stackoverflow.com/questions/43975973/how-to-fix-error-failed-to-download-on-rbenv-install
2、https://stackoverflow.com/questions/30678583/centos-6-6-curl-returns-error-when-connecting-to-some-ssl-site
Read More:
- How to Fix TNS 12560 Error
- OpenSSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failur
- kubernetes Error from server (AlreadyExists): error when creating “kubernetes-dashboard.yaml”: serv
- Git: “error: RPC failed; curl 18 transfer closed with outstanding read data remaining”
- How to Solve Error: could not read ok from ADB Server.failed to start daemon error: cannot connect to daemon
- How to Solve Redis Cluster Error: (Error) Moved
- Calling Dubbo Service reported the following error (com.alibaba.dubbo.remoting.RemotingException) Causes and Solutions
- Filezilla Error: You appear to be behind a NAT router. Please configure the passive mode settings and …
- XAMPP Error: Apache shutdown unexpectedly.This may be due to a blocked port, missing dependencies…
- docker load Error processing tar file(exit status 1): archive/tar: invalid tar header
- TypeError: db.collection is not a function
- Github Clone Error: RPC failed; result=56, HTTP code=200
- Failed to connect to driver at XXXXXXx
- WordPress update failed 429 too many requests (How to Fix)
- How to Fix Microsoft SQL Server Error 1326
- Using elementui El-dialog as a subcomponent to close an error
- Windows update failed to update, indicating the solution of 0x80244021
- HTTP Error 500.30 – ANCM In-Process Start Failure
- Setting label malloc in MAC development_ error_ Break breakpoint (Xcode)
- Mac error: SH: Vue cli service: command not found