@ -122,7 +122,7 @@ def load_root_certificate():
in_file = open("AppleRootCA-G3.cer", "rb") # opening for [r]eading as [b]inary
data = in_file.read() # if you only wanted to read 512 bytes, do .read(512)
in_file.close()
return data
return load_certificate(FILETYPE_ASN1, data)
def _get_root_cert(root_cert_path):