You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm running silk against certificate signed by untrusted root, I got the following error.
> silk -silk.url="https://untrusted-root.badssl.com/" ./**/*.silk.md
silk: running 1 file(s)...
x509: certificate signed by unknown authority
--- FAIL: silk (0.67s)
FAIL
I tried to find a way to skip certification checking in help but couldn't find it. (like option -k in curl)
-k, --insecure Allow connections to SSL sites without certs (H)
I think the error was caused by http.DefaultTransport used in Runner.DoRequest. It seems to me that DefaultTransport does not allow a connection to insecure SSL sites.
When I'm running silk against certificate signed by untrusted root, I got the following error.
I tried to find a way to skip certification checking in help but couldn't find it. (like option -k in curl)
I think the error was caused by
http.DefaultTransport
used inRunner.DoRequest
. It seems to me thatDefaultTransport
does not allow a connection to insecure SSL sites.silk/runner/run.go
Line 56 in 11c4f54
I found a way to skip it here https://groups.google.com/d/msg/golang-nuts/v5ShM8R7Tdc/I2wyTy1o118J
I'm thinking of adding another option in silk to allow connections to SSL sites without certs. Any idea what the option should be? Is
-k
ok?The text was updated successfully, but these errors were encountered: