mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-22 17:50:03 +08:00
4dbe4b33df
Fix the cert scripts for GDS and client.
11 lines
367 B
Batchfile
11 lines
367 B
Batchfile
@echo off
|
|
REM create the app certificate
|
|
cd /D %~dp0
|
|
set CERTSTORE=".\OPC Foundation\GDS\PKI\own"
|
|
rd /S/Q %CERTSTORE%
|
|
md %CERTSTORE%
|
|
..\..\..\Opc.Ua.CertificateGenerator.exe -cmd issue -sp %CERTSTORE% -an "UA Global Discovery Client" -dn %COMPUTERNAME% -sn "CN=UA Global Discovery Client/DC=%COMPUTERNAME%" -au "urn:localhost:OPCFoundation:GdsClient
|
|
set CERTSTORE=
|
|
|
|
|