zgrab2 icon indicating copy to clipboard operation
zgrab2 copied to clipboard

self signed certificate handshake failure

Open kevinr938 opened this issue 4 years ago • 0 comments

Hi,

When trying to grab a https host with an insecure https certificate, the error states "remote error: handshake failure"

echo 98.144.66.28 | zgrab2 http --use-https --port 8443

I have tried this with a simple go app:

transCfg := &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, } client := &http.Client{Transport: transCfg} response, err := client.Get("https://98.144.66.28:8443")

And it did work.

maybe there should be an option to skip the handshake part ? Or is it something else that I'm missing?

kevinr938 avatar Jul 22 '20 07:07 kevinr938