Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.SetOptionProxyPinnedPublicKey
Sets pinned public key for proxy.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.SetOptionProxyPinnedPublicKey"; curl; Path ) More
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Path | The file path. |
Result
Returns OK or error.
Description
Sets pinned public key for proxy.The public key in DER form used to validate the proxy public key.
This option is used only if CURL.SetOptionProxySSLVerifyPeer is true.
Please path native file path to key file.
This function requires a native path. Use Path.FileMakerPathToNativePath 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 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_PINNEDPUBLICKEY option in CURL manual.
See also
- CURL.SetOptionPinnedPublicKey
- CURL.SetOptionProxy
- CURL.SetOptionProxySSLVerifyPeer
- Path.FileMakerPathToNativePath
Created 15th April 2018, last changed 16th April 2018
