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 Solve Maven Error: Return code is: 501 , ReasonPhrase:HTTPS Required.
- How to Fix TNS 12560 Error
- How to Fix Node SASS Error in Vue + webpack project after nodejs upgrade
- How to Solve Maven Error: Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from https://repo.maven.ap
- WordPress update failed 429 too many requests (How to Fix)
- How to Fix Error Cannot find command ‘git‘ – do you have ‘git‘ installed and in your PATH?
- How to Fix “Cannot open Eclipse Marketplace” Error
- How to Fix msgsend() error: to many arguments to function call, expected 0, have2
- Websocket: How to Fix Error Read Econnreset
- How to Fix Error 1069:The service did not start due to a logon failure
- How to Fix Microsoft SQL Server Error 1326
- How to Fix Failed to load resource: the server responded with a status of 404()
- How to Fix error: conversion from “” to non-scalar type “”
- Start failure: spawn CMD enoent error (How to Fix)
- How to Fix win10 video dxgkrnl fatal error
- How to Fix “Microsoft Visual C ++ 14.0 is required” Error
- How to Fix Error Launching Installer WIN10
- How to Fix the common Warning Errors after Vue Project Startup
- How to Fix PVE Issues: ERROR: migration aborted
- How to Fix the printer error 0x00000709 on Windows