Support older versions of TLS regardless of Go defaults (#671)
* Explicitly allow TLS1.0 in HTTP client * Add CHANGELOG.md entry
This commit is contained in:
parent
627c8710cd
commit
a3bd865aef
@ -2,6 +2,7 @@
|
|||||||
- master
|
- master
|
||||||
- New
|
- New
|
||||||
- Changed
|
- Changed
|
||||||
|
- Explicitly allow TLS1.0
|
||||||
|
|
||||||
- v2.0.0
|
- v2.0.0
|
||||||
- New
|
- New
|
||||||
|
|||||||
@ -59,6 +59,7 @@ func NewSimpleRunner(conf *ffuf.Config, replay bool) ffuf.RunnerProvider {
|
|||||||
TLSHandshakeTimeout: time.Duration(time.Duration(conf.Timeout) * time.Second),
|
TLSHandshakeTimeout: time.Duration(time.Duration(conf.Timeout) * time.Second),
|
||||||
TLSClientConfig: &tls.Config{
|
TLSClientConfig: &tls.Config{
|
||||||
InsecureSkipVerify: true,
|
InsecureSkipVerify: true,
|
||||||
|
MinVersion: tls.VersionTLS10,
|
||||||
Renegotiation: tls.RenegotiateOnceAsClient,
|
Renegotiation: tls.RenegotiateOnceAsClient,
|
||||||
ServerName: conf.SNI,
|
ServerName: conf.SNI,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user