diff --git a/client/ipa-join.c b/client/ipa-join.c index 4426740d3..16a903b46 100644 --- a/client/ipa-join.c +++ b/client/ipa-join.c @@ -692,9 +692,6 @@ join_krb5_jsonrpc(const char *ipaserver, char *hostname, char **hostdn, const ch curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk); curl_easy_setopt(curl, CURLOPT_CAINFO, DEFAULT_CA_CERT_FILE); - curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); - curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); - curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, &jsonrpc_handle_response); /* delegating authentication to gssapi */