def get_cert_file():
try:<EOL><INDENT>current_path = os.path.realpath(__file__)<EOL>ca_cert_path = os.path.join(current_path, "<STR_LIT:..>", "<STR_LIT:..>", "<STR_LIT:..>",<EOL>"<STR_LIT>", "<STR_LIT>")<EOL>return os.path.abspath(ca_cert_path)<EOL><DEDENT>except Exception:<EOL><INDENT>return None<EOL><DEDENT>
Get the certificates file for https