Skip to main content

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.

KeyWhat it doesValueRequired
applicationPKIThe PKI folder of the gateway: its own certificate and the certificates of the OPC UA clients that it trusts.certificate store
userPKIThe 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.

KeyWhat it doesValueRequired
rootFolderThe path of the PKI folder. The gateway creates the folder if it does not exist.text
automaticallyAcceptUnknownCertificateWith true, the gateway trusts every certificate that a client shows. The default is false. Use true only to commission.true or false