Test for SSL encryption

To test the encryption between FileMaker Server or FileMaker Cloud and FileMaker Pro or FileMaker Go clients, use the Get(ConnectionState) function. It will return a value of:

  • 0 for no network connection for the current file.

  • 1 for a connection that is not encrypted (FileMaker Server with SSL disabled, or to a FileMaker Pro host).

  • 2 for a connection that is encrypted but for which the SSL certificate for FileMaker Server cannot be verified. You may be connected to a server pretending to be your actual destination, which could put your confidential information at risk.

  • 3 for a connection that is encrypted with a verified SSL certificate.

For example, write a script to run when a file is opened that alerts the user if the connection to FileMaker Server is not secure.

The user may see a lock icon in the FileMaker Pro Open File dialog box, the upper-right corner of the FileMaker Pro window, or the FileMaker Go Opening File screen.

  • SSL insecure icon is equivalent to Get(ConnectionState) returning 1.

  • SSL unlock icon is equivalent to Get(ConnectionState) returning 2.

  • SSL lock icon is equivalent to Get(ConnectionState) returning 3.

Notes 

  • If clients use the IP address of the server rather than the fully qualified host name, they may see an encrypted connection where the SSL certificate for FileMaker Server cannot be verified. To see an encrypted connection with a verified SSL certificate, your clients should add the fully qualified host name as a favorite host in the Hosts dialog box in FileMaker Pro and the Launch Center in FileMaker Go.