Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

curlopt_proxy_sslcert(3) [mojave man page]

CURLOPT_PROXY_SSLCERT(3)				     curl_easy_setopt options					  CURLOPT_PROXY_SSLCERT(3)

NAME
CURLOPT_PROXY_SSLCERT - set SSL proxy client certificate SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXY_SSLCERT, char *cert); DESCRIPTION
This option is for connecting to a HTTPS proxy, not a HTTPS server. Pass a pointer to a zero terminated string as parameter. The string should be the file name of your client certificate used to connect to the HTTPS proxy. The default format is "P12" on Secure Transport and "PEM" on other engines, and can be changed with CUR- LOPT_PROXY_SSLCERTTYPE(3). With NSS or Secure Transport, this can also be the nickname of the certificate you wish to authenticate with as it is named in the security database. If you want to use a file from the current directory, please precede it with "./" prefix, in order to avoid confusion with a nickname. When using a client certificate, you most likely also need to provide a private key with CURLOPT_PROXY_SSLKEY(3). The application does not have to keep the string around after setting this option. DEFAULT
NULL PROTOCOLS
Used with HTTPS proxy EXAMPLE
TODO AVAILABILITY
Added in 7.52.0 RETURN VALUE
Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or CURLE_OUT_OF_MEMORY if there was insufficient heap space. SEE ALSO
CURLOPT_PROXY_SSLCERTTYPE(3), CURLOPT_PROXY_SSLKEY(3), CURLOPT_SSLCERT(3), libcurl 7.54.0 December 21, 2016 CURLOPT_PROXY_SSLCERT(3)

Check Out this Related Man Page

CURLOPT_PROXY_SSLKEY(3) 				     curl_easy_setopt options					   CURLOPT_PROXY_SSLKEY(3)

NAME
CURLOPT_PROXY_SSLKEY - specify private keyfile for TLS and SSL proxy client cert SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXY_SSLKEY, char *keyfile); DESCRIPTION
Pass a pointer to a zero terminated string as parameter. The string should be the file name of your private key used for connecting to the HTTPS proxy. The default format is "PEM" and can be changed with CURLOPT_PROXY_SSLKEYTYPE(3). (iOS and Mac OS X only) This option is ignored if curl was built against Secure Transport. Secure Transport expects the private key to be already present in the keychain or PKCS#12 file containing the certificate. The application does not have to keep the string around after setting this option. DEFAULT
NULL PROTOCOLS
All EXAMPLE
TODO AVAILABILITY
Added in 7.52.0 If built TLS enabled. RETURN VALUE
Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or CURLE_OUT_OF_MEMORY if there was insufficient heap space. SEE ALSO
CURLOPT_PROXY_SSLKEYTYPE(3), CURLOPT_PROXY_SSLCERT(3), CURLOPT_SSLKEYTYPE(3), CURLOPT_SSLCERT(3), libcurl 7.54.0 December 21, 2016 CURLOPT_PROXY_SSLKEY(3)
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

HTTPS connection unix

Hi, I have a situation....where I have to make a HTTPS:// connection to the third party web site to grab 5 files from their server. I am little new to unix. Can anyone please help me creating the shell script for making this connection and grabing or reading the files from their server to... (2 Replies)
Discussion started by: rkumar28
2 Replies

2. UNIX for Dummies Questions & Answers

File Upload Performance using IE from Windows to Unix via HTTPS

Hi, Is there any performance issue uploading a file using IE from Windows client to UNIX server via HTTPS? Before that, we were using HTTP protocol and everything run smooth Once we change to HTTPS, we might hit the "HTTP 500 Internal server error" Even though this does not happen all the... (1 Reply)
Discussion started by: darontan
1 Replies

3. AIX

File Upload Performance using IE from Windows to AIX via HTTPS

Hi, Is there any performance issue uploading a file using IE from Windows client to AIX WAS server via HTTPS? Before that, we were using HTTP protocol and everything run smooth Once we change to HTTPS, we might hit the "HTTP 500 Internal server error" Even though this does not happen all... (1 Reply)
Discussion started by: darontan
1 Replies

4. Shell Programming and Scripting

curl certificate error

Hi, I am getting below error when I do ------------------------------- curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed More details here: cURL - Details on Server SSL Certificates... (5 Replies)
Discussion started by: Anjan1
5 Replies

5. Programming

Unable to use libcurl to access a site requiring client authentication

I’m using the below snipped for setting the certificate and key for client authentication. curl_easy_setopt(curl,CURLOPT_SSLCERT,"clientCert.pem"); curl_easy_setopt(curl,CURLOPT_SSLCERTPASSWD,"changeit"); curl_easy_setopt(curl,CURLOPT_SSLCERTTYPE,"PEM"); ... (2 Replies)
Discussion started by: old_as_a_fossil
2 Replies

6. Cybersecurity

Snort HTTPS

Is it possible to rule out in alert all HTTPS traffic or rule out all the HTTPS trafic from the alerts on snort ? (3 Replies)
Discussion started by: drd0spt
3 Replies

7. Solaris

Need suggestion:- Failed HTTPS transfer to https://supportfiles.sun.com/curl

Hi Guys, I have recently started reciving below Error message Failed HTTPS transfer to https://supportfiles.sun.com/curl whenever I run /usr/local/bin/sudo /opt/SUNWexplo/bin/explorer -P -q -v from all Servers. Looks like the SSL certificate as Expired. Whenever I type... (4 Replies)
Discussion started by: manalisharmabe
4 Replies

8. Programming

Python- Client and server certificate validation

Hello Team, I have to verify the Client server certificate validation in HTTPS request(SSL hand shake before the actual HTTPS post request), And tried various ways and failed to verify it successfully. here are the trials and errors, resp = requests.post(url, req, verify=True, timeout=5,... (0 Replies)
Discussion started by: chandana.hs
0 Replies