4D v14.3

HTTP SET CERTIFICATES FOLDER

Home

 
4D v14.3
HTTP SET CERTIFICATES FOLDER

HTTP SET CERTIFICATES FOLDER 


 

HTTP SET CERTIFICATES FOLDER ( certificatesFolder ) 
Parameter Type   Description
certificatesFolder  Text in Pathname and name of client certificates folder

The HTTP SET CERTIFICATES FOLDER command modifies the active client certificates folder for all processes of the current session.

The client certificates folder is the one where 4D looks for the client certificate files that are required by Web servers. By default, as long as the HTTP SET CERTIFICATES FOLDER command is not executed, 4D uses a folder named "ClientCertificatesFolder" that is created next to the structure file. This folder is only created when necessary.

 In 4D v14, it is now possible to use several client certificates.

In certificatesFolder, pass the pathname of the custom folder containing the client certificates. You can pass either a pathname relative to the application structure file, or an absolute pathname. The path must be expressed using the system syntax, for example:

  • (OS X): Disk:Applications:myserv:folder
  • (Windows): C:\Applications\myserv\folder

Once this command has been executed, the new path is immediately taken into account (you do not have to restart the application). It is used in all the processes of the database.

When you want to use the default certificates folder, you can pass an empty string in certificatesFolder.

If the folder specified does not exist at the location defined, or if the pathname passed in certificatesFolder is not valid, an error is generated. You can intercept this error using an error-handling method installed by the ON ERR CALL command.

 
PROPERTIES 

Product: 4D
Theme: HTTP Client
Number: 1306

 
HISTORY 

New
Created: 4D v14

 
SEE ALSO 

HTTP Get certificates folder

 
ARTICLE USAGE

4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)