Fix support for CACERT and set OS_INSECURE=true