SW Developer
ubuntu OpenSSL TLS 1.2 설치 및 확인 error:1407742 tlsv1 alert protocol version
ashespia
2020. 6. 15. 16:46
SMALL
더보기
curl -m 60 -sv -X POST --data
* About to connect() to hooks.slack.com port 443 (#0)
* Trying 52.198.217.116... connected
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS alert, Server hello (2):
* error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
* Closing connection #0
Error 코드 원인
현재 설치되어 있는 tls 버전이 미지원 상태
Openssl 버전 정보 확인
더보기
root@fota: ~]openssl
OpenSSL> version
OpenSSL 1.0.1 14 Mar 2012
설치된 TLS 버전 정보 확인 Python 2
python -c "import json, urllib2; print json.load(urllib2.urlopen('https://www.howsmyssl.com/a/check'))['tls_version']"
설치된 TLS 버전 정보 확인 Python 3
python3 -c "import json, urllib.request; print(json.loads(urllib.request.urlopen('https://www.howsmyssl.com/a/check').read().decod
TLS 1.2 버전 설치 방법
더보기
sudo apt-get update
sudo apt-get install openssl libssl-dev
LIST