the blocking warning for non certificate validation: added the error_log () function to write messages in the current log file