sslscan
sslscan copied to clipboard
Incomplete output for certificates with multiple CNs
If a certificate has multiple CNs, the output is incomplete. If the certificate is for:
/C=UK/O=TestOrg/OU=Test/CN=foo/CN=bar
Then the subject in the output will be foo, and the bar will be lost. I guess that X509_get_subject_name() only returns the first CN?
Need to check what the full XML output looks like, and if there's a nice way to handle this.