Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Issuer" isn't getting exported correctly to XML #246

Open
si9int opened this issue May 8, 2021 · 1 comment
Open

"Issuer" isn't getting exported correctly to XML #246

si9int opened this issue May 8, 2021 · 1 comment

Comments

@si9int
Copy link

si9int commented May 8, 2021

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>
@rbsec
Copy link
Owner

rbsec commented May 9, 2021

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants