The tlscert Parameter

SQL Relay supports a tlscert parameter in the SQL Relay server's configuration file, and as an argument to the various command line client programs. In either case, it specifies the TLS certificate chain to use.

On non-Windows platforms, it must specify a certificate chain file. For example:

/usr/local/firstworks/etc/sqlrserver.pem
/usr/local/firstworks/etc/sqlrclient.pem

On Windows platforms it may specify a certificate chain file. For example:

C:\\Program Files\\Firstworks\\etc\\sqlrserver.pfx
C:\\Program Files\\Firstworks\\etc\\sqlrclient.pfx

(note the double-backslashes)

Or, it may specify a certificate in a Windows Certificate Store. For example:

CURRENT_USER:MY:sqlrserver
MY:sqlrserver
sqlrserver
CURRENT_USER:MY:sqlrclient
MY:sqlrclient
sqlrclient

For actual files:

For certificates in a Windows Certificate store: