CDN/Cloudflare – error:14094438:SSL routines:ssl3_read_bytes:tlsv1 [OR] error:14077438:SSL SSL23_GET_SERVER_HELLO:tlsv1
While trying to communicate with my HTTPS server, I encountered a problem when CDN (Cloudflare) was active. Exception class EIdOSSLUnderlyingCryptoError with message ‘Error connecting with SSL. error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error’. error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error’. I switched to TNetHTTPClient and it worked. Here is the code: // TNetHTTPClient. function GetToken(CONST URL: string; StatusInfo: TCallbackEvent […]
