Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.GetCertInfo
Queries information on the certificate chain.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.GetCertInfo"; curl ) More
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Result
Returns text or error.
Description
Queries information on the certificate chain.Returns a list of lists with infos.
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.com/")]
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
Release notes
- Version 7.4
- Modernized CURL.GetCertInfo for newer CURL version.
Example Databases
Blog Entries
- Using pinned certificates with our CURL plugin functions
- Use root certificates included with FileMaker
- MBS FileMaker Plugin, version 7.4pr2
This function checks for a license.
Created 12nd July 2015, last changed 4th March 2023