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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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

Example Databases

Blog Entries

This function checks for a license.

Created 12nd July 2015, last changed 4th March 2023


CURL.GetCAPath - CURL.GetConditionUnmet

💬 Ask a question or report a problem