certificateStores
A certificate proves the identity of the gateway or of a user. The gateway keeps its certificates in PKI folders: its own certificate, the certificates it trusts and the certificates it rejected. Use this section to move these folders, for example to a Docker volume. If you set nothing, the gateway uses $CERTIFICATE_STORE/ApplicationPKI and $CERTIFICATE_STORE/UserPKI when the environment variable CERTIFICATE_STORE is set. Otherwise it uses the configuration folder of node-opcua for the user.
Example
certificateStores:
applicationPKI:
rootFolder: /pkis/ApplicationPKI
userPKI:
rootFolder: /pkis/UserPKI
The value
certificateStores: is the certificate stores.
The certificate stores
Two PKI folders: one for the certificates of the application and one for the certificates of users.
| Key | What it does | Value | Required |
|---|---|---|---|
applicationPKI | The PKI folder of the gateway: its own certificate and the certificates of the OPC UA clients that it trusts. | certificate store | |
userPKI | The PKI folder of the X509 user certificates that the gateway accepts when a user logs in. | certificate store |
A certificate store
The location of one PKI folder and the rule for unknown certificates.
| Key | What it does | Value | Required |
|---|---|---|---|
rootFolder | The path of the PKI folder. The gateway creates the folder if it does not exist. | text | |
automaticallyAcceptUnknownCertificate | With true, the gateway trusts every certificate that a client shows. The default is false. Use true only to commission. | true or false |