|
|
@ -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 != "" {
|
|
|
|