sslscan icon indicating copy to clipboard operation
sslscan copied to clipboard

"Issuer" isn't getting exported correctly to XML

Open si9int opened this issue 4 years ago • 1 comments

sslscan --show-certificate rewe.de

prints:

Issuer: /C=US/O=Let's Encrypt/CN=R3

but the XML certificate only contains the CN flag.

<issuer><![CDATA[R3]]></issuer>

si9int avatar May 08 '21 12:05 si9int

Which bit of the XML output are you looking at? When you pass --show-certificates, there should be two sections. The full section should include the entire Issuer, the short section (which is included default) should only show the CN:

 <certificates>
  <certificate type="full">
[...]
   <issuer><![CDATA[/C=US/O=DigiCert Inc/CN=DigiCert TLS RSA SHA256 2020 CA1]]></issuer>                                                       
[...]
  </certificate>
  <certificate type="short">
[...]
   <issuer><![CDATA[DigiCert TLS RSA SHA256 2020 CA1]]></issuer>

rbsec avatar May 09 '21 08:05 rbsec