Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.5
11.0
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
Statistic
FMM
Blog
CURL.SetOptionCertInfo
Whether to collect certificate information.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | Whether to collect certificate information. | 1 |
Result
Returns "OK" on success.
Description
Whether to collect certificate information.Pass a long set to 1 to enable libcurl's certificate chain info gatherer. With this enabled, libcurl (if built with OpenSSL) will extract lots of information and data about the certificates in the certificate chain used in the SSL connection. This data is then possible to extract after a transfer using CURL.GetCertInfo.
See also CERTINFO option in CURL manual.
Examples
Query certificate information for MBS website:
Set Variable [$curl; Value:MBS("CURL.New")]
Set Variable [$result; Value:MBS("CURL.SetOptionURL"; $curl; "https://www.monkeybreadsoftware.de/")]
Set Variable [$result; Value:MBS("CURL.SetOptionCertInfo"; $curl; 1)]
Set Field [CURL Test::Result; MBS("CURL.Perform"; $curl)]
Set Field [CURL Test::Text; MBS("CURL.GetCertInfo"; $curl)]
Set Variable [$result; Value:MBS("CURL.Release"; $curl)]
See also
- CURL.GetCertInfo
- CURL.New
- CURL.Perform
- CURL.Release
- CURL.SetOptionCAInfo
- CURL.SetOptionURL
- CURL.SetOptionVerbose
Example Databases
Blog Entries
- Using pinned certificates with our CURL plugin functions
- Use root certificates included with FileMaker
Created 18th August 2014, last changed 19th April 2020
CURL.SetOptionCRLFile - CURL.SetOptionConnectOnly
Feedback: Report problem or ask question.
