mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Do SSL CA verification and hostname validation.
This commit is contained in:
@@ -166,8 +166,8 @@ callRPC(char * user_agent,
|
||||
memset(curlXportParmsP, 0, sizeof(*curlXportParmsP));
|
||||
|
||||
/* Have curl do SSL certificate validation */
|
||||
curlXportParmsP->no_ssl_verifypeer = 1;
|
||||
curlXportParmsP->no_ssl_verifyhost = 1;
|
||||
curlXportParmsP->no_ssl_verifypeer = 0;
|
||||
curlXportParmsP->no_ssl_verifyhost = 0;
|
||||
curlXportParmsP->cainfo = "/etc/ipa/ca.crt";
|
||||
curlXportParmsP->user_agent = user_agent;
|
||||
/* Enable GSSAPI credentials delegation */
|
||||
|
||||
Reference in New Issue
Block a user