Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets the list of ciphers to use for the SSL connection.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
curl | The CURL session handle. | $curl | |
Value | The new text string with list of ciphers. | "RC4-SHA:SHA1+DES" | |
Encoding | The text encoding for text parameter. Default is UTF-8. Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ. |
"utf8" | Optional |
Returns "OK" on success.
See also SSL_CIPHER_LIST option in CURL manual.
Reduce security level:
Set Variable [ $result ; Value: MBS( "CURL.SetOptionSSLCipherList"; $curl; "DEFAULT@SECLEVEL=0") ]
Created 18th August 2014, last changed 13th July 2023