Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  


Allows a certain host to allow use of any HTTP certificates.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WebView 6.2 Yes No Yes, macOS only No No

MBS( "WebView.AllowsAnyHTTPSCertificateForHost"; Hostname )


Parameter Description Example value
Hostname The hostname to allow. ""


Returns OK or error.


Allows a certain host to allow use of any HTTP certificates.
Sometimes you have to load a website where the SSL Zertifikate ist not for the given domain.
With putting a domain on the exception list, we can allow loading the given site.

Not supported for WebKit 2.x (FileMaker 16 Mac), but works in FileMaker 16, when using a Web Viewer created using WebView.Create.


Allow some domains and load website:

Set Variable [$r; Value:MBS("WebView.AllowsAnyHTTPSCertificateForHost"; "")]
Set Variable [$r; Value:MBS("WebView.AllowsAnyHTTPSCertificateForHost"; "")]
Set Web Viewer [Object Name: "web"; URL: ""]

See also

WebPolicyDelegate.RemoveMimeType   -   WebView.ClearSelection

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins