add tls show cert

master v2.1.0.beta.5
兔子 8 months ago
parent f855d23e8f
commit 9b123d8bb9

@ -213,7 +213,7 @@ func showTls(target string, showDetail bool, dumpPath string) {
} }
} }
fmt.Printf("证书扩展密钥用途: %s\n", strings.Join(extKeyUsage, ", ")) fmt.Printf("证书扩展密钥用途: %s\n", strings.Join(extKeyUsage, ", "))
fmt.Printf("证书版本: %d\n", c.Version) fmt.Printf("证书版本: %d\n----------\n", c.Version)
//fmt.Printf("证书扩展信息: %+v\n\n----------", c.Extensions) //fmt.Printf("证书扩展信息: %+v\n\n----------", c.Extensions)
} }
if dumpPath != "" { if dumpPath != "" {

Loading…
Cancel
Save