zgrab2
zgrab2 copied to clipboard
self signed certificate handshake failure
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?