mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-23 10:23:13 +08:00
8a1df6d3dc
- Fix the UserIdentity constructor to load the private key of a provided certificateIdenifier. - make UserIdentity constructor throw a ServiceResultException when a Certificate with no private key is specified. - extend console reference client with two new parameters: -uc Thumbprint of a user certifiate located in the TrustedUserCertificatesStore -ucp Password of the private key of the user certificate - add documentation for console reference client
20 lines
802 B
Markdown
20 lines
802 B
Markdown
# OPC Foundation UA .NET Standard Reference Client
|
|
|
|
## Introduction
|
|
|
|
The console reference client can be configured using several console parameters.
|
|
Some of these parameters are explained in more detail below.
|
|
|
|
To see all available parameters call console reference client the with the parameter `-h`.
|
|
|
|
### How to specify User Identity
|
|
#### Username & Password
|
|
Specify as console parameters:
|
|
`-un YourUsername`
|
|
`-up YourPassword`
|
|
|
|
#### Certificate
|
|
Place your user certificate in the TrustedUserCertificatesStore (the path can be found in the client configuration XML). Make shure to include an accessible private key with the certificate.
|
|
Specify console parameters:
|
|
`-uc Thumbprint` (of the user certificate to select)
|
|
`-ucp Password` (of the user certificates private key (optional)) |