Skip to content
Advertisement

Tag: openssl

SSL error TLSV1_ALERT_INTERNAL_ERROR with aiohttp library

I have an application making api requests via aiohttp library. I make around 10 requests/second. About once a hour I get the following error: Initially, I didn’t have ssl=False but added to try and avoid this error, but it had no effect, about once a hour I get this error still. I could simply add a try catch to catch

How do I read(open) an ASN.1 file in python

I want to get a certificates serial number using python: Unfortunately it fails in the first line: How do I read an ASN.1 file format (DER) in Python? Answer You are opening the file as a text file, which means read tries to decode the data using UTF-8 in order to return a str object. Instead, open it as a

Advertisement