This adds --insecure to the curl args so that self-signed certificates
will be accepted.
started. If you have hardware, which takes a very long time to announce its
drives, you might want to extend this value.
+**rd.noverifyssl**::
+ accept self-signed certificates for ssl downloads.
+
[[dracutkerneldebug]]
Debug
~~~~~
export CURL_HOME="/run/initramfs/url-lib"
mkdir -p $CURL_HOME
-curl_args="--location --retry 3 --fail --show-error --insecure"
+curl_args="--location --retry 3 --fail --show-error"
+getargbool 0 rd.noverifyssl && curl_args+=" --insecure"
curl_fetch_url() {
local url="$1" outloc="$2"