I have a certificate and i used the regular expression to strip the beginning and ending from certificate. How can i decode the serial number of the certificate using OpenSSL.
I have the cli command to decode:
openssl x509 -serial -noout
how can fetch it from Python