reverted machine default store back to X509 and updated NuGet packages.

This commit is contained in:
Erich Barnstedt 2017-08-03 13:58:12 +02:00
Родитель e53a3a2bc7
Коммит f82e731303
3 изменённых файлов: 6 добавлений и 4 удалений

2
.gitignore поставляемый
Просмотреть файл

@ -18,7 +18,9 @@
*.so
*.pdb
*.der
*.pfx
*.exe
/src/out
/src/Logs

Просмотреть файл

@ -90,8 +90,8 @@ namespace Opc.Ua.Publisher
}
Configuration.SecurityConfiguration.ApplicationCertificate = new CertificateIdentifier();
Configuration.SecurityConfiguration.ApplicationCertificate.StoreType = "Directory";
Configuration.SecurityConfiguration.ApplicationCertificate.StorePath = "CertificateStores/UA Applications";
Configuration.SecurityConfiguration.ApplicationCertificate.StoreType = "X509Store";
Configuration.SecurityConfiguration.ApplicationCertificate.StorePath = "CurrentUser\\UA_MachineDefault";
Configuration.SecurityConfiguration.ApplicationCertificate.SubjectName = Configuration.ApplicationName;
X509Certificate2 certificate = Configuration.SecurityConfiguration.ApplicationCertificate.Find(true).Result;

Просмотреть файл

@ -38,8 +38,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.Azure.Devices" Version="1.2.9" />
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.3.0" />
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua" Version="0.4.0" />
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.3.1" />
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua" Version="0.4.1" />
</ItemGroup>
</Project>