2014-12-29 2 views
1

내 문제 만 스크린 샷을 보면 간단하다 피곤 눈Elinks : SSL 오류

Elinks Issue

** : 나는 왜 elinks을 이해하지 못하는

-bash-4.1$ cat /etc/*release 
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch 
Red Hat Enterprise Linux Server release 6.6 (Santiago) 
Red Hat Enterprise Linux Server release 6.6 (Santiago) 
-bash-4.1$ 
-bash-4.1$ 
-bash-4.1$ elinks -version 
ELinks 0.12pre5 
Built on Jan 4 2013 07:04:04 

Features: 
Standard, IPv6, gzip, bzip2, UTF-8, Periodic Saving, Viewer (Search 
History, Timer, Marks), Cascading Style Sheets, Protocol 
(Authentication, BitTorrent, File, FTP, HTTP, URI rewrite, User 
protocols), SSL (OpenSSL), MIME (Option system, Mailcap, Mimetypes 
files), LED indicators, Bookmarks, Cookies, Form History, Global 
History, Goto URL History 
-bash-4.1$ 
-bash-4.1$ 
-bash-4.1$ elinks -dump -eval 'set connection.ssl.cert_verify = 1' https://10.113.1.104:443/sgc/registro2.asp 
ELinks: SSL error 
-bash-4.1$ 
-bash-4.1$ 
-bash-4.1$ elinks -dump -eval 'set connection.ssl.cert_verify = 0' https://10.113.1.104:443/sgc/registro2.asp 
ELinks: SSL error 
-bash-4.1$ 

여전히 오류를 보여줍니다 SSL. 어떤 생각?

+0

피곤한 눈으로는 스크린 샷을 볼 수 없습니다. 그리고 사이트 및 검색 엔진은 관련 텍스트의 색인을 생성 할 수 없습니다. 질문에 텍스트를 추가하십시오 (사진을 유지하려면 확인을 누르고 텍스트가 필요합니다). – jww

+0

@jww 완료, 지금보십시오. –

답변

0

먼저 확인

  1. 는 서버가 실제로 포트 443 및
  2. 가/수신하는 포트/트래픽을 전송 듣고되어 있는지 확인합니다.

서버 (10.113.1.104) 인증서의 경우 check the key length; 매우 인증서 키 길이보다 작을 때 elinks는 2048 비트 키를 기대하는 수 있습니다 :

$ echo | openssl s_client -connect 10.113.1.104:443 2>/dev/null | openssl x509 -text -noout | grep "Public-Key" 
+0

이것은 답변입니다 : Public-Key : (1024 bit), 내가 뭘 할 수 있을까? –

+0

동일한 명령이 grep없이 제공되는지 확인하십시오 :'echo | openssl s_client -connect 10.113.1.104:443 2>/dev/null | openssl x509 -text -noout'. 그런 다음 완전한 인증서 덤프를 갖게됩니다. 예를 들어, 인증서가 자체 서명되었는지 확인하십시오. –

+0

예, 인증서는 자체 서명되어 있습니다. –

2

당신은 SSL 검증을 무시 elinks을 구성 할 수 있습니다 : 편집 elinks.conf과 connection.ssl.cert_verify 설정을 변경 0으로 설정 한 다음 elink를 다시 시작하십시오.

+0

아마 분명해야하지만 그 파일의 위치는 우리에게 도움이 될 것입니다. noobs – jrich523

+1

jrich, RHEL Linux + 다운 스트림 버전의 위치는 대개 /etc/elinks.conf입니다. – UTCWebDev

+0

FWIW 파일은'~/.elinks/elinks.conf'이며 (기본값으로 존재하지는 않습니다) 구문은'set connection.ssl.cert_verify = 0'입니다 - 이것은 매우 잘 설명되어 있지 않습니다. – Arkku