mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-22 09:37:12 +08:00
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"profiles": {
|
||||
"NetCoreConsoleClient": {
|
||||
"commandName": "Project",
|
||||
"environmentVariables": {
|
||||
"COMPlus_ReadyToRunExcludeList": "System.Security.Cryptography.X509Certificates"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"profiles": {
|
||||
"NetCoreConsoleServer": {
|
||||
"commandName": "Project",
|
||||
"environmentVariables": {
|
||||
"Key": "Value",
|
||||
"COMPlus_ReadyToRunExcludeList": "System.Security.Cryptography.X509Certificates"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -224,7 +224,7 @@ namespace Opc.Ua
|
||||
|
||||
var nameValues = new ArrayList();
|
||||
nameValues.Add(domainNames[0]);
|
||||
nameValues.Add(applicationName);
|
||||
nameValues.Add(subjectName);
|
||||
|
||||
// self signed
|
||||
X509Name subjectDN = new X509Name(nameOids, nameValues);
|
||||
@@ -480,7 +480,7 @@ namespace Opc.Ua
|
||||
// create the subject name,
|
||||
if (String.IsNullOrEmpty(subjectName))
|
||||
{
|
||||
subjectName = Utils.Format("CN={0}/DC={1}", applicationName, domainNames[0]);
|
||||
subjectName = applicationName;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user