reverted machine default store back to X509 and updated NuGet packages.
This commit is contained in:
Родитель
e53a3a2bc7
Коммит
f82e731303
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче