To register the certificate, open the application's package.json file and set the wolkenkit/environments/default/api/certificate property to the directory that contains the private key and the certificate. Use an absolute path and consider the application directory as root.

Choose the right environment

If you use an environment different than default, make sure that you use the name of the appropriate environment.

E.g., to use the directory server/keys/example.com that contains a custom certificate, use the following code: