aboutsummaryrefslogtreecommitdiffstats
path: root/config/server_register.conf
blob: 3c905a5d89d169f6abfe12187a605c5c246b798c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# ServerRegister configuration
#
# Keys:
#   port                Server port number
#   applicationUri      OPC UA application URI
#   serverCertificate   Path to server certificate (.der)
#   serverPrivateKey    Path to server private key (.der)
#   clientCertificate   Path to client certificate for LDS connection (.der)
#   clientPrivateKey    Path to client private key for LDS connection (.der)
#   discoveryEndpoint   LDS endpoint URL (e.g. opc.tcp://localhost:4840)
#   registerInterval    Seconds between re-registrations with the LDS
#   securityMode        None, Sign, or SignAndEncrypt
#   securityPolicy      None, Basic256Sha256, Aes256_Sha256_RsaPss,
#                       Aes128_Sha256_RsaOaep, or ECC_nistP256
#   serverAuthMode      Auth mode for clients connecting to this server:
#                       "anonymous" or "user"
#   serverUsername      Username (required when serverAuthMode = user)
#   serverPassword      Password (required when serverAuthMode = user)
#   clientAuthMode      Auth mode for connecting to the LDS:
#                       "anonymous" or "user"
#   clientUsername      Username (required when clientAuthMode = user)
#   clientPassword      Password (required when clientAuthMode = user)
#   trustList           Trusted certificate path (repeat for multiple)

port = 4841
applicationUri = urn:bobink.ServerRegister
serverCertificate = certs/ServerRegister_cert.der
serverPrivateKey = certs/ServerRegister_key.der
clientCertificate = certs/ServerRegisterClient_cert.der
clientPrivateKey = certs/ServerRegisterClient_key.der

discoveryEndpoint = opc.tcp://localhost:4840
registerInterval = 10

securityMode = SignAndEncrypt
securityPolicy = Aes128_Sha256_RsaOaep

serverAuthMode = user
serverUsername = user
serverPassword = password

clientAuthMode = user
clientUsername = user
clientPassword = password

trustList = certs/ServerLDS_cert.der
trustList = certs/ClientFindServers_cert.der