Files
UA-.NETStandard/SampleApplications/Samples/NetCoreConsoleClient/CreateCert.cmd
T
Martin Regen b8b818e1ef fix the cr feedback
- missing " in CreateCert batches
- NET46 dependency removed
- all TODO removed
2016-11-09 11:51:14 +01:00

11 lines
406 B
Batchfile

@echo off
REM create the app certificate for NetCoreConsoleClient
cd /D %~dp0
set CERTSTORE=".\OPC Foundation\CertificateStores\MachineDefault"
rd /S/Q %CERTSTORE%
md %CERTSTORE%
..\..\..\Opc.Ua.CertificateGenerator.exe -cmd issue -sp %CERTSTORE% -ks 2048 -an "UA Sample Client" -dn %COMPUTERNAME% -sn "CN=UA Sample Client/DC=%COMPUTERNAME%" -au "urn:localhost:OPCFoundation:SampleClient"
set CERTSTORE=