libURLSetSSLVerification

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
libURLSetSSLVerification {true|false}
Associationsinternet library
Summary

Allows for server credential authentication.

Introduced2.5
OSmac, windows, linux, ios, android
Platformsdesktop, server
Example
libURLSetSSLVerification true
libURLSetSSLVerification false
RelatedKeyword: URL
Message: startup, openBackground, preOpenStack, openStack, preOpenCard
Glossary: main stack, handler, Standalone Application Settings, message, group, standalone application, keyword, command, application, LiveCode custom library
Library: Internet library, library
Securitynetwork
Description

libURLSetSSLVerification sets whether or not the server credentials are authenticated. If libURLSetSSLVerification is set to true then the server credentials are authenticated. If libURLSetSSLVerification is set to false, then the server credentials are not authenticated and any connection is accepted.

Important: The libURLSetSSLVerification command is part of the Internet library on desktop platforms. To ensure that the command works in a desktop standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "Internet" script library is selected.

*Cross-platform note:* On iOS and Android, libURLSetSSLVerification is implemented in the engine. Therefore the Internet library is not needed to ensure the command works in a mobile standalone application. If included, the Internet library implementation will be used instead of the engine implementation.

Cross-platform note: The Web engine will always verify server credentials.