forked from locka99/opcua
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.server.test.conf
150 lines (150 loc) · 3.78 KB
/
sample.server.test.conf
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# This is a configuration file for automated testing. You must edit the host ip
# address and follow any additional steps in the demo-server/README.md
---
application_name: OPC UA Sample Server
application_uri: "urn:${computername}"
product_uri: "urn:OPC UA Sample Server Testkit"
create_sample_keypair: true
# Cert must be correct for hostname
certificate_path: own/cert.der
private_key_path: private/private.pem
certificate_validation:
trust_client_certs: true
check_time: true
pki_dir: "./pki"
#discovery_server_url: ""
tcp_config:
hello_timeout: 5
# Host must be the computer name and must match settings in test app
host: ${computername}
port: 4855
limits:
clients_can_modify_address_space: false
max_subscriptions: 100
max_monitored_items_per_sub: 1000
max_monitored_item_queue_size: 10
max_array_length: 1000
max_string_length: 65535
max_byte_string_length: 65535
min_sampling_interval: 0.1
min_publishing_interval: 0.1
performance:
single_threaded_executor: false
locale_ids:
- en
user_tokens:
sample_password_user1:
user: sample1
pass: sample1pwd
sample_password_user2:
user: sample2
pass: sample2pwd
sample_x509_user:
user: sample_x509
x509: "./users/sample-x509.der"
unused_user:
user: unused
pass: unused1
discovery_urls:
- "opc.tcp://${computername}:4855/"
default_endpoint: ~
endpoints:
aes128-sha256-rsaoaep_sign:
path: /
security_policy: Aes128-Sha256-RsaOaep
security_mode: Sign
security_level: 2
password_security_policy: ~
user_token_ids:
- ANONYMOUS
- sample_password_user1
- sample_password_user2
- sample_x509_user
aes128-sha256-rsaoaep_sign_encrypt:
path: /
security_policy: Aes128-Sha256-RsaOaep
security_mode: SignAndEncrypt
security_level: 12
password_security_policy: ~
user_token_ids:
- ANONYMOUS
- sample_password_user1
- sample_password_user2
- sample_x509_user
basic128rsa15_sign:
path: /
security_policy: Basic128Rsa15
security_mode: Sign
security_level: 1
password_security_policy: ~
user_token_ids:
- ANONYMOUS
- sample_password_user1
- sample_password_user2
- sample_x509_user
basic128rsa15_sign_encrypt:
path: /
security_policy: Basic128Rsa15
security_mode: SignAndEncrypt
security_level: 11
password_security_policy: ~
user_token_ids:
- ANONYMOUS
- sample_password_user1
- sample_password_user2
- sample_x509_user
basic256_sign:
path: /
security_policy: Basic256
security_mode: Sign
security_level: 3
password_security_policy: ~
user_token_ids:
- ANONYMOUS
- sample_password_user1
- sample_password_user2
- sample_x509_user
basic256_sign_encrypt:
path: /
security_policy: Basic256
security_mode: SignAndEncrypt
security_level: 13
password_security_policy: ~
user_token_ids:
- ANONYMOUS
- sample_password_user1
- sample_password_user2
- sample_x509_user
basic256sha256_sign:
path: /
security_policy: Basic256Sha256
security_mode: Sign
security_level: 4
password_security_policy: ~
user_token_ids:
- ANONYMOUS
- sample_password_user1
- sample_password_user2
- sample_x509_user
basic256sha256_sign_encrypt:
path: /
security_policy: Basic256Sha256
security_mode: SignAndEncrypt
security_level: 14
password_security_policy: ~
user_token_ids:
- ANONYMOUS
- sample_password_user1
- sample_password_user2
- sample_x509_user
none:
path: /
security_policy: None
security_mode: None
security_level: 0
password_security_policy: ~
user_token_ids:
- ANONYMOUS
- sample_password_user1
- sample_password_user2
- sample_x509_user