Forum > Networking and Web Programming

How to disable ssl certificate verification in LazAutoUpdate

<< < (3/3)

I tried the properties you suggested and nothing helped. Experimentally, I found out that the program stops at this point, that is, it does not have time to apply this property yet.

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---function TFPCustomHTTPClient.GetSocketHandler(const UseSSL: Boolean): TSocketHandler;Var AHandler : TSSLSocketHandler;begin  Result:=Nil;  AHandler:=Nil;  if Assigned(FonGetSocketHandler) then    FOnGetSocketHandler(Self,UseSSL,Result);  if (Result=Nil) then  {$if not defined(HASAMIGA)}    If UseSSL then    begin         ShowMessage('Before');         AHandler:= TSSLSocketHandler.Create; //here the program stops         AHandler.VerifyPeerCert:=false;         ShowMessage('After');         Result:=AHandler;    end    else  {$endif}      Result:=TSocketHandler.Create;end;  


[0] Message Index

[*] Previous page

Go to full version