SSL 오류 컬/Wget 알 수 없는 프로토콜/잘못된 버전 번호

SSL 오류 컬/Wget 알 수 없는 프로토콜/잘못된 버전 번호

명령줄/크론 작업에서 로컬 호스팅 https URL을 사용하려고 했는데 해당 오류가 발생했습니다. 컬 출력은 비슷합니다. 다른 서버에서 동일한 명령을 사용하면 완벽하게 작동합니다.

기본

[root@tejon ~]# wget -O /dev/null https://www.domain.com/cron/notification.php
--2013-05-27 10:33:38--  https://www.domain.com/cron/notification.php
Resolving www.domain.com... 173.45.38.60
Connecting to www.domain.com|173.45.38.60|:443... connected.
OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
Unable to establish SSL connection.

TLSv1

[root@tejon ~]# wget --secure-protocol=TLSv1 -O /dev/null https://www.domain.com/cron/notification.php
--2013-05-27 10:45:59--  https://www.domain.com/cron/notification.php
Resolving www.domain.com... 173.45.38.60
Connecting to www.domain.com|173.45.38.60|:443... connected.
OpenSSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
Unable to establish SSL connection.

SSLv2

[root@tejon ~]# wget --secure-protocol=SSLv2 -O /dev/null https://www.domain.com/cron/notification.php
--2013-05-27 10:47:18--  https://www.domain.com/cron/notification.php
Resolving www.domain.com... 173.45.38.60
Connecting to www.domain.com|173.45.38.60|:443... connected.

입력을 차단하지만 파일이 실행되지 않습니다.

SSLv3

[root@tejon ~]# wget --secure-protocol=SSLv3 -O /dev/null https://www.domain.com/cron/notification.php
--2013-05-27 10:43:23--  https://www.domain.com/cron/notification.php
Resolving www.domain.com... 173.45.38.60
Connecting to www.domain.com|173.45.38.60|:443... connected.
OpenSSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
Unable to establish SSL connection.

답변1

데이터 센터 지원으로 해결되었습니다.

도메인이 /etc/hosts에 추가되었으나 일단 제거되면 어떻게 작동하는지 모르겠습니다.

관련 정보