Page MenuHomeDevCentral

sslv3 alert handshake failure
ActivePublic

Authored by dereckson on Nov 17 2014, 18:44.
Referenced Files
F47: sslv3_alert_handshake_failure
Nov 17 2014, 18:44
Subscribers
None
/home/dereckson ] tclsh8.6
% package require http
2.8.8
% package require tls
1.6
% http::register https 443 ::tls::socket
443 ::tls::socket
% http::geturl https://fr.wikipedia.org/
SSL channel "sock801eacd10": error: sslv3 alert handshake failure
error reading "sock801eacd10": software caused connection abort

Event Timeline

dereckson changed the title of this paste from untitled to sslv3 alert handshake failure.
dereckson updated the paste's language from autodetect to tcl.
dereckson updated the paste's language from tcl to autodetect.Nov 17 2014, 18:45
dereckson changed the visibility from "All Users" to "Public (No Login Required)".
dereckson added a project: Dæghrefn.

Solution is to disable sslv3 and enable tls with tls::init -tls1 true -ssl2 false -ssl3 false before the socket registration:

% /home/dereckson ] tclsh8.6 
% package require http
2.8.8
% package require tls
1.6
% tls::init -tls1 true -ssl2 false -ssl3 false
-tls1 true -ssl2 false -ssl3 false
% http::register https 443 ::tls::socket
443 ::tls::socket
% http::geturl https://fr.wikipedia.org/
::http::1
% http::cleanup ::http::1
%

Thank you to rkeene from Freenode #tcl

dereckson updated the paste's language from autodetect to tcl.Nov 29 2014, 15:49