CURL.SetOptionProxySSLKey
-------------------------

Sets name of the file keeping your private SSL-key for proxy.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [8.2](newinversion82.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.SetOptionProxySSLKey"; curl; Path ) 

**MBS**( **"CURL.SetOptionProxySSLKey";** /\* Sets name of the file keeping your private SSL-key for proxy. \*/  
**$curl**; /\* The CURL session handle. \*/   
**$Path**) /\* The native file path to the key file. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |
| Path | The native file path to the key file. |  |

### Result

Returns OK or error.

### Description

Sets name of the file keeping your private SSL-key for proxy.  
See [CURL.SetOptionProxySSLKeyBlob](CURLSetOptionProxySSLKeyBlob.md) to pass certificate as container or text.  
  
See [Files.DeleteLater](FilesDeleteLater.md) to delete a temporary key file when FileMaker quits.  
  
This function requires a native path. Use [Path.FileMakerPathToNativePath](PathFileMakerPathToNativePath.md) to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use [FileDialog](component_FileDialog.md) functions.  
For Server be aware that server has limited permissions and may not be able to access all files on a computer.  
See also [PROXY\_SSLKEY](https://curl.haxx.se/libcurl/c/CURLOPT_PROXY_SSLKEY.html) option in CURL manual.

### See also

- [CURL.SetOptionProxySSLCert](CURLSetOptionProxySSLCert.md)
- [CURL.SetOptionProxySSLCertBlob](CURLSetOptionProxySSLCertBlob.md)
- [CURL.SetOptionProxySSLCertType](CURLSetOptionProxySSLCertType.md)
- [CURL.SetOptionProxySSLKeyBlob](CURLSetOptionProxySSLKeyBlob.md)
- [CURL.SetOptionProxySSLOptions](CURLSetOptionProxySSLOptions.md)
- [CURL.SetOptionProxyType](CURLSetOptionProxyType.md)
- [CURL.SetOptionSSLKey](CURLSetOptionSSLKey.md)
- [Files.Delete](FilesDelete.md)
- [Files.DeleteLater](FilesDeleteLater.md)
- [Path.FileMakerPathToNativePath](PathFileMakerPathToNativePath.md)

### Release notes

- **Version 10.4**
    - Changed [CURL.SetOptionIssuerCertBlob](https://www.mbsplugins.eu/CURLSetOptionIssuerCertBlob.shtml), [CURL.SetOptionProxyIssuerCert](https://www.mbsplugins.eu/CURLSetOptionProxyIssuerCert.shtml), [CURL.SetOptionProxyIssuerCertBlob](https://www.mbsplugins.eu/CURLSetOptionProxyIssuerCertBlob.shtml), [CURL.SetOptionProxySSLCertBlob](https://www.mbsplugins.eu/CURLSetOptionProxySSLCertBlob.shtml), [CURL.SetOptionProxySSLKeyBlob](https://www.mbsplugins.eu/CURLSetOptionProxySSLKeyBlob.shtml), [CURL.SetOptionSSLCertBlob](https://www.mbsplugins.eu/CURLSetOptionSSLCertBlob.shtml) and [CURL.SetOptionSSLKeyBlob](https://www.mbsplugins.eu/CURLSetOptionSSLKeyBlob.shtml) to replace line endings for keys to LF if needed.
- **Version 10.3**
    - Added [CURL.SetOptionIssuerCertBlob](https://www.mbsplugins.eu/CURLSetOptionIssuerCertBlob.shtml), [CURL.SetOptionProxyIssuerCert](https://www.mbsplugins.eu/CURLSetOptionProxyIssuerCert.shtml), [CURL.SetOptionProxyIssuerCertBlob](https://www.mbsplugins.eu/CURLSetOptionProxyIssuerCertBlob.shtml), [CURL.SetOptionProxySSLCertBlob](https://www.mbsplugins.eu/CURLSetOptionProxySSLCertBlob.shtml), [CURL.SetOptionProxySSLKeyBlob](https://www.mbsplugins.eu/CURLSetOptionProxySSLKeyBlob.shtml), [CURL.SetOptionSSLCertBlob](https://www.mbsplugins.eu/CURLSetOptionSSLCertBlob.shtml) and [CURL.SetOptionSSLKeyBlob](https://www.mbsplugins.eu/CURLSetOptionSSLKeyBlob.shtml) functions.

Created 15th April 2018 , last changed 7th August 2023

  
[CURL.SetOptionProxySSLCipherList](CURLSetOptionProxySSLCipherList.md) - [CURL.SetOptionProxySSLKeyBlob](CURLSetOptionProxySSLKeyBlob.md)

[HTML Version](CURLSetOptionProxySSLKey.shtml)