4D v14.3HTTP SET CERTIFICATES FOLDER |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
HTTP SET CERTIFICATES FOLDER
HTTP SET 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:
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
HISTORY
SEE ALSO ARTICLE USAGE
4D Language Reference ( 4D v14 R2) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||