Files
UA-.NETStandard/SampleApplications/Samples/NetCoreConsolePublisher/CreateCert.cmd
T

9 lines
375 B
Batchfile

REM create the app certificate for NetCoreConsoleClient
set CERTSTORE=".\OPC Foundation\CertificateStores\MachineDefault"
rd /S/Q %CERTSTORE%
md %CERTSTORE%
..\..\..\Opc.Ua.CertificateGenerator.exe -cmd issue -sp %CERTSTORE% -an "Opc.Ua.Publisher" -dn %COMPUTERNAME% -sn "CN=Opc.Ua.Publisher/DC=%COMPUTERNAME%" -au "urn:localhost:OPCFoundation:AMQPPublisher
set CERTSTORE=