И пример с различными вариантами SSL соединений.
Единственным рабочим вариантом оказались:
IgnoreInvalidDate = true
IgnoreWeakSignature = false
Add(Button,6013603,294,175)
{
Left=25
Top=5
link(onClick,4151113:doEvent1,[])
}
Add(RichEdit,14489664,539,175)
{
Left=5
Top=30
Width=160
Height=170
ScrollBars=3
}
Add(HTTPClient,16337173,406,175)
{
EncType=1
SSLProtocols=1
IgnoreInvalidCN=1
IgnoreInvalidDate=1
IgnoreUnknownCA=1
IgnoreWrongUsage=1
link(URL,14878751:getVar,[])
link(onHeadersAvail,11031107:doWork2,[])
link(onError,11031107:doWork3,[(501,202)])
}
Add(HubEx,11031107,497,175)
{
link(onEvent,14489664:doAdd,[])
}
Add(HTTPClient,3348346,406,245)
{
UserAgent=""
EncType=1
SSLProtocols=1
Point(RawHeaders)
link(URL,14493739:getVar,[])
link(onHeadersAvail,13231940:doWork2,[])
link(onError,13231940:doWork3,[(501,272)])
}
Add(Hub,4151113,336,175)
{
OutCount=4
link(onEvent1,16337173:doLoadString,[])
link(onEvent2,3348346:doLoadString,[(396,188)(396,251)])
link(onEvent3,11040593:doLoadString,[(389,195)(389,328)])
link(onEvent4,3284981:doDownload,[(382,202)(382,405)])
}
Add(RichEdit,11513064,540,245)
{
Left=165
Top=30
Width=155
Height=170
ScrollBars=3
}
Add(HubEx,13231940,497,245)
{
link(onEvent,11513064:doAdd,[])
}
Add(MainForm,15079326,203,175)
{
Width=665
Height=249
Caption=""
}
Add(HTTP_Get,3284981,406,399)
{
UserAgent="Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0"
link(onDownload,194576:doConvert,[])
link(URL,3110785:getVar,[])
}
Add(Hub,3766692,497,406)
{
link(onEvent1,11548675:doClear,[(522,412)(522,426)])
link(onEvent2,11548675:doAdd,[])
}
Add(StreamConvertor,194576,455,406)
{
Mode=6
link(onResult,3766692:doEvent1,[])
}
Add(Edit,8985706,469,42)
{
Left=130
Top=5
Width=515
Text="http://gothammusicacademy.com"
}
Add(LineBreakEx,9829325,469,98)
{
Caption="URL"
Type=3
link(_Data,8985706:Text,[])
}
Add(LineBreakEx,14878751,406,147)
{
Caption="URL"
Type=2
}
Add(LineBreakEx,14493739,406,217)
{
Caption="URL"
Type=2
}
Add(LineBreakEx,3110785,406,371)
{
Caption="URL"
Type=2
}
Add(HTTPClient,11040593,406,322)
{
UserAgent=""
EncType=1
SSLProtocols=1
IgnoreInvalidCN=1
IgnoreInvalidDate=1
IgnoreUnknownCA=1
IgnoreWrongUsage=1
IgnoreWeakSignature=1
Point(RawHeaders)
link(URL,3416295:getVar,[])
link(onHeadersAvail,9645686:doWork2,[])
link(onError,9645686:doWork3,[(501,349)])
}
Add(RichEdit,14108182,540,322)
{
Left=320
Top=30
Width=155
Height=170
ScrollBars=3
}
Add(HubEx,9645686,497,322)
{
link(onEvent,14108182:doAdd,[])
}
Add(LineBreakEx,3416295,406,294)
{
Caption="URL"
Type=2
}
Add(RichEdit,11548675,539,413)
{
Left=475
Top=30
Width=170
Height=170
ScrollBars=3
}