Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AttributeDescriptionExpected valuesMandatory
urlThe server URL endpoint

“opc.tcp://<IP>:<port>[/sub/path]”

e.g. “opc.tcp://10.5.0.1:4841
YES
appUriThe application URIe.g. “urn:S2OPC:localhost”YES
productUriThe product URIe.g. “urn:S2OPC:localhost”YES
appDescriptionApplication descriptionAny non-empty string.YES
localeIdThe default language Id.e.g. "en-US", "fr-FR", ...YES
namespaces

List of namespaces URI, starting at namespace 1.
Note that in current implementation, only namespace 1 is used.

Thus, the array should contain only one name. (Array is kept for portability)

e.g. for 2 users namespaces (ns=1, ns=2): [ "urn:S2OPC:localhost", "urn:S2OPC:localhost_2" ]YES
policiesArray of accepted policies

If no security is required: 
- a single element containing both "None" for Mode and Policy should be used.


YES
policies.securityMode

The security mode

A string among “None”, “Sign” and “SignAndEncrypt” (case insensitive)YES
policies.securityPolicyThe security policyA string among “None”, “Basic256”, “Basic256Sha256”, “Aes128Sha256RsaOaep” and “Aes256Sha256RsaPss”YES
policies.userPoliciesThe user policy

If no security is required, "Anonymous" should be used

A string among “Anonymous”, “username”, “username_None”, “username_Basic256”YES
usersA map of 'user':'password'.
If no user-authentication is required, it can be an empty object
e.g: {"user" : "password", "user2" : "xGt4sdE3Z+" }
e.g: {}
YES
certificatesNote: all certificate files are expected to be provided in subfolders under the $(FLEDGE_INSTALL)/data/etc/certs/s2opc_srv folder
NOYES
certificates.serverCertPathThe Server certificate filename (DER format).
The complete path for this file is $(FLEDGE_INSTALL)/data/etc/certs/s2opc_srv/server/
e.g. "server_2k_cert.der"NOYES
certificates.serverKeyPath

The Server key filename (PEM format)

The complete path for this file is $(FLEDGE_INSTALL)/data/etc/certs/s2opc_srv/server/

e.g. "server_2k_key.pem"NOYES
certificates.trusted_root

The list of trusted root certificates (DER). Can be empty.

The complete path for this file is $(FLEDGE_INSTALL)/data/etc/certs/s2opc_srv/trusted/

e.g. [ "cacert.der" ]

NO

certificates.trusted_intermediateThe list of trusted intermediate certificates (DER). Can be empty.

The complete path for this file is $(FLEDGE_INSTALL)/data/etc/certs/s2opc_srv/trusted/

Same as “trusted_root”NO
certificates.revokedThe list of revoked certificates (DER). Can be empty.

The complete path for this file is $(FLEDGE_INSTALL)/data/etc/certs/s2opc_srv/revoked/

Same as “trusted_root”NO
certificates.untrusted_rootThe list of untrusted root certificates (DER). Can be empty.

The complete path for this file is $(FLEDGE_INSTALL)/data/etc/certs/s2opc_srv/untrusted/

Same as “trusted_root”NO
certificates.untrusted_intermediateThe list of untrusted intermediate certificates (DER). Can be empty.

The complete path for this file is $(FLEDGE_INSTALL)/data/etc/certs/s2opc_srv/untrusted/

Same as “trusted_root”NO
certificates.issuedThe list of untrusted issued certificates (DER). Can be empty.

The complete path for this file is $(FLEDGE_INSTALL)/data/etc/certs/s2opc_srv/issued/

Same as “trusted_root”NO

Configuration JSON structure

...