scripts: Add script to extract the ASN.1 subject DN from a certificate