Yufeng Li
New Member
Members
Forum Posts: 2
Member Since:
06/22/2021
06/22/2021
Offline
Hi Experts,
I am currently trying to connect (from OPC client) to a sample server using certificate. I got an exception on the server while calling CertificateValidator.Validate(certificate), “Usage of certificate is not allowed”.
Any hint on what might cause the problem?
Thanks!
Randy Armstrong
Admin
Forum Posts: 1579
Member Since:
05/30/2017
05/30/2017
Offline
See https://reference.opcfoundatio…..rt6/6.2.2/
Check the keyUsage and extendedKeyUsage.
keyUsage | keyUsage | Specifies how the Certificate key may be used. Shall include digitalSignature, nonRepudiation, keyEncipherment and dataEncipherment. Other key uses are allowed. |
extendedKeyUsage | keyUsage | Specifies additional key uses for the Certificate. Shall specify ‘serverAuth and/or clientAuth. Other key uses are allowed. |
Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 49
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1445
Posts: 4889