adding custom_ca and ssl_insecure options