http-tanker icon indicating copy to clipboard operation
http-tanker copied to clipboard

Does not work with https using self-signed certifcates

Open thanosz opened this issue 2 years ago • 2 comments

Hello, when running for a site with a self-signed certificate I get

ERROR : Post "https://192.168.1.254": x509: cannot validate certificate for 192.168.1.254 because it doesn't contain any IP SANs 

thanosz avatar Jan 28 '22 09:01 thanosz

Hello, This seems to be related to how the certificate was generated, according to this

You can try this method to generate your self signed cert : [method] (https://go.dev/src/crypto/tls/generate_cert.go)

PierreKieffer avatar Jan 28 '22 10:01 PierreKieffer

it would be better i think if tanker had a field/flag that allowed tanker to not verify the secure connection (which is the issue here) - I'm having the same issue. Curl etc all have a flag to do this, so would be a nice touch if tanker also had one. Could be an option on a request....

amlwwalker avatar Oct 26 '23 13:10 amlwwalker