This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R9
CS
CertificateAuthoritiesCertificates

CertificateAuthoritiesCertificates  


 

 

 / Preferences4D / BuildApp / CS / CertificateAuthoritiesCertificates

Text (Path)

This key allows you to declare the path to a file containing a list of signatures of trusted certificate authorities and the domain name of the server certificate. This list is copied in the remote 4D application and is used to validate the certificate sent by 4D Server on connection.

This key is useful when you have installed your own TLS certificate in a 4D Client/Server application.

  1. To install a custom TLS certificate in a built 4D Server application, copy your custom key.pem and cert.pem files in the Resources folder of the server application (next to the Server executable):
    - Windows: Client Server executable/<ApplicationName> Server/Resources
    - macOS: Client Server executable/<ApplicationName> Server app (Resources folder is at the first level of the package)
  2. Copy the Certification Authority (CA) certificate in your list of trusted CAs and give the path of the list to the CertificateAuthoritiesCertificates key. This CA certificate is usually provided by your CA itself. The list must be provided in PEM format. 

Here is an example of list of trusted CAs:

 

For more information on certificate authority validation, see this blog post.



See also 

CertificateDomainName

 
PROPERTIES 

Product: 4D
Theme: CS

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v20 R7

 
ARTICLE USAGE

4D XML Keys BuildApplication ( 4D v20 R9)