Console client cert fixes: remove default certs, add windows batch to create app certs

This commit is contained in:
Martin Regen
2016-07-25 22:13:19 +02:00
parent 341517adf6
commit b749ef2530
9 changed files with 16 additions and 7 deletions
@@ -57,18 +57,18 @@ namespace NetCoreConsoleClient
ApplicationCertificate = new CertificateIdentifier
{
StoreType = "Directory",
StorePath = "",
StorePath = "./OPC Foundation/CertificateStores/MachineDefault",
SubjectName = Utils.Format("CN={0}, DC={1}", "UA Sample Client", Utils.GetHostName())
},
TrustedPeerCertificates = new CertificateTrustList
{
StoreType = "Directory",
StorePath = "",
StorePath = "./OPC Foundation/CertificateStores/UA Applications",
},
TrustedIssuerCertificates = new CertificateTrustList
{
StoreType = "Directory",
StorePath = "",
StorePath = "./OPC Foundation/CertificateStores/UA Certificate Authorities",
},
NonceLength = 32,
AutoAcceptUntrustedCertificates = true