mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-18 14:43:08 +08:00
120 lines
5.9 KiB
XML
120 lines
5.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ApplicationConfiguration
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:ua="http://opcfoundation.org/UA/2008/02/Types.xsd"
|
|
xmlns="http://opcfoundation.org/UA/SDK/Configuration.xsd"
|
|
>
|
|
<ApplicationName>UA Server Configuration Push Test Client</ApplicationName>
|
|
<ApplicationUri>urn:localhost:opcfoundation.org:ServerConfigurationPushTestClient</ApplicationUri>
|
|
<ProductUri>http://opcfoundation.org/UA/ServerConfigurationPushTestClient</ProductUri>
|
|
<ApplicationType>Client_1</ApplicationType>
|
|
<SecurityConfiguration>
|
|
<ApplicationCertificates>
|
|
<CertificateIdentifier>
|
|
<StoreType>Directory</StoreType>
|
|
<StorePath>%LocalApplicationData%/OPC/pki/own</StorePath>
|
|
<SubjectName>CN=Server Configuration Push Test Client, O=OPC Foundation</SubjectName>
|
|
<CertificateTypeString>RsaSha256</CertificateTypeString>
|
|
</CertificateIdentifier>
|
|
<CertificateIdentifier>
|
|
<StoreType>Directory</StoreType>
|
|
<StorePath>%LocalApplicationData%/OPC/pki/own</StorePath>
|
|
<SubjectName>CN=Server Configuration Push Test Client, O=OPC Foundation</SubjectName>
|
|
<CertificateTypeString>NistP256</CertificateTypeString>
|
|
</CertificateIdentifier>
|
|
<CertificateIdentifier>
|
|
<StoreType>Directory</StoreType>
|
|
<StorePath>%LocalApplicationData%/OPC/pki/own</StorePath>
|
|
<SubjectName>CN=Server Configuration Push Test Client, O=OPC Foundation</SubjectName>
|
|
<CertificateTypeString>NistP384</CertificateTypeString>
|
|
</CertificateIdentifier>
|
|
<CertificateIdentifier>
|
|
<StoreType>Directory</StoreType>
|
|
<StorePath>%LocalApplicationData%/OPC/pki/own</StorePath>
|
|
<SubjectName>CN=Server Configuration Push Test Client, O=OPC Foundation</SubjectName>
|
|
<CertificateTypeString>BrainpoolP256r1</CertificateTypeString>
|
|
</CertificateIdentifier>
|
|
<CertificateIdentifier>
|
|
<StoreType>Directory</StoreType>
|
|
<StorePath>%LocalApplicationData%/OPC/pki/own</StorePath>
|
|
<SubjectName>CN=Server Configuration Push Test Client, O=OPC Foundation</SubjectName>
|
|
<CertificateTypeString>BrainpoolP384r1</CertificateTypeString>
|
|
</CertificateIdentifier>
|
|
</ApplicationCertificates>
|
|
<TrustedIssuerCertificates>
|
|
<StoreType>Directory</StoreType>
|
|
<StorePath>%LocalApplicationData%/OPC/pki/issuers</StorePath>
|
|
</TrustedIssuerCertificates>
|
|
<TrustedPeerCertificates>
|
|
<StoreType>Directory</StoreType>
|
|
<StorePath>%LocalApplicationData%/OPC/pki/trusted</StorePath>
|
|
</TrustedPeerCertificates>
|
|
<RejectedCertificateStore>
|
|
<StoreType>Directory</StoreType>
|
|
<StorePath>%LocalApplicationData%/OPC/pki/rejected</StorePath>
|
|
</RejectedCertificateStore>
|
|
<!-- WARNING: The following setting (to automatically accept untrusted certificates) should be used
|
|
for easy debugging purposes ONLY and turned off for production deployments! -->
|
|
<AutoAcceptUntrustedCertificates>true</AutoAcceptUntrustedCertificates>
|
|
<!-- WARNING: SHA1 signed certificates are by default rejected and should be phased out. -->
|
|
<RejectSHA1SignedCertificates>false</RejectSHA1SignedCertificates>
|
|
<MinimumCertificateKeySize>1024</MinimumCertificateKeySize>
|
|
<AddAppCertToTrustedStore>false</AddAppCertToTrustedStore>
|
|
<SendCertificateChain>false</SendCertificateChain>
|
|
</SecurityConfiguration>
|
|
<TransportConfigurations></TransportConfigurations>
|
|
<TransportQuotas>
|
|
<OperationTimeout>600000</OperationTimeout>
|
|
<MaxStringLength>1048576</MaxStringLength>
|
|
<MaxByteStringLength>1048576</MaxByteStringLength>
|
|
<MaxArrayLength>65535</MaxArrayLength>
|
|
<MaxMessageSize>4194304</MaxMessageSize>
|
|
<MaxBufferSize>65535</MaxBufferSize>
|
|
<ChannelLifetime>300000</ChannelLifetime>
|
|
<SecurityTokenLifetime>3600000</SecurityTokenLifetime>
|
|
</TransportQuotas>
|
|
<ClientConfiguration>
|
|
<!-- The default timeout for new sessions -->
|
|
<DefaultSessionTimeout>600000</DefaultSessionTimeout>
|
|
<!-- The well-known URLs for the local discovery servers
|
|
URLs are tested in the order they appear in this list. -->
|
|
<WellKnownDiscoveryUrls>
|
|
<ua:String>opc.tcp://{0}:4840/UADiscovery</ua:String>
|
|
</WellKnownDiscoveryUrls>
|
|
<!-- EndpointDescriptions for system wide discovery servers -->
|
|
<DiscoveryServers></DiscoveryServers>
|
|
<!-- The minimum subscription lifetime.
|
|
This ensures subscriptions are not set to expire too quickly. The requesed lifetime count
|
|
and keep alive count are calculated using this value and the request publishing interval -->
|
|
<MinSubscriptionLifetime>10000</MinSubscriptionLifetime>
|
|
</ClientConfiguration>
|
|
<Extensions>
|
|
<ua:XmlElement>
|
|
<ServerConfigurationPushTestClientConfiguration xmlns="http://opcfoundation.org/UA/SDK/Configuration.xsd">
|
|
<ServerUrl>opc.tcp://localhost:58810/GlobalDiscoveryTestServer</ServerUrl>
|
|
<AppUserName></AppUserName>
|
|
<AppPassword></AppPassword>
|
|
<SysAdminUserName>sysadmin</SysAdminUserName>
|
|
<SysAdminPassword>demo</SysAdminPassword>
|
|
<TempStorePath>%LocalApplicationData%/OPC/PKI/temp</TempStorePath>
|
|
</ServerConfigurationPushTestClientConfiguration>
|
|
</ua:XmlElement>
|
|
</Extensions>
|
|
<TraceConfiguration>
|
|
<OutputFilePath>%LocalApplicationData%/OPC/Logs/Opc.Ua.Gds.Tests.log.txt</OutputFilePath>
|
|
<DeleteOnLoad>false</DeleteOnLoad>
|
|
<!-- Show Only Errors -->
|
|
<!-- <TraceMasks>1</TraceMasks> -->
|
|
<!-- Show Only Security and Errors -->
|
|
<!-- <TraceMasks>513</TraceMasks> -->
|
|
<!-- Show Only Security, Errors and Trace -->
|
|
<!-- <TraceMasks>515</TraceMasks> -->
|
|
<!-- Show Only Security, COM Calls, Errors and Trace -->
|
|
<!-- <TraceMasks>771</TraceMasks> -->
|
|
<!-- Show Only Security, Service Calls, Errors and Trace -->
|
|
<!-- <TraceMasks>523</TraceMasks> -->
|
|
<!-- Show Only Security, ServiceResultExceptions, Errors and Trace -->
|
|
<TraceMasks>519</TraceMasks>
|
|
</TraceConfiguration>
|
|
</ApplicationConfiguration>
|