Daniel Stenberg
2017-08-23 08:08:37 UTC
Hi friends,
On github alone, "curl --insecure" is used in source code at least 117,000
times. With a possible addition of about 196,000 instances where "curl -k" is
used.
Some of these use cases are probably totally legit, especially when you get
things from localhost or similar, but many of them should probably rather make
the connection to the self-signed server secure by using a cacert for it.
Is there anything we can do to reduce the use of insecure SSL connections done
by curl in the world?
Would adding a warning help? Here's a PR doing that:
https://github.com/curl/curl/pull/1821
On github alone, "curl --insecure" is used in source code at least 117,000
times. With a possible addition of about 196,000 instances where "curl -k" is
used.
Some of these use cases are probably totally legit, especially when you get
things from localhost or similar, but many of them should probably rather make
the connection to the self-signed server secure by using a cacert for it.
Is there anything we can do to reduce the use of insecure SSL connections done
by curl in the world?
Would adding a warning help? Here's a PR doing that:
https://github.com/curl/curl/pull/1821
--
/ daniel.haxx.se
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette
/ daniel.haxx.se
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette