Query: curlopt_proxy_keypasswd
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CURLOPT_PROXY_KEYPASSWD(3) curl_easy_setopt options CURLOPT_PROXY_KEYPASSWD(3)NAMECURLOPT_PROXY_KEYPASSWD - set passphrase to proxy private keySYNOPSIS#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXY_KEYPASSWD, char *pwd);DESCRIPTIONThis option is for connecting to a HTTPS proxy, not a HTTPS server. Pass a pointer to a zero terminated string as parameter. It will be used as the password required to use the CURLOPT_PROXY_SSLKEY(3) pri- vate key. You never needed a pass phrase to load a certificate but you need one to load your private key. The application does not have to keep the string around after setting this option.DEFAULTNULLPROTOCOLSUsed with HTTPS proxyEXAMPLETODOAVAILABILITYAdded in 7.52.0RETURN VALUEReturns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or CURLE_OUT_OF_MEMORY if there was insufficient heap space.SEE ALSOCURLOPT_PROXY_SSLKEY(3), CURLOPT_SSH_PRIVATE_KEYFILE(3), CURLOPT_SSLKEY(3), libcurl 7.54.0 December 21, 2016 CURLOPT_PROXY_KEYPASSWD(3)