Files
UA-.NETStandard/SampleApplications/Samples/GDS/ClientTest/Opc.Ua.ServerConfigurationPushTestClient.Config.xml
T
Martin Regen fb5a676209 Gds improvements for SPS demo (#35)
* fixes in gds client app to support server push

* race condition with netcore 2.0.3 with docker

* more server entries

* Revert "race condition with netcore 2.0.3 with docker"

This reverts commit d983452e41dc29c1f3d8c5ca1ae7aa683275a68e.

* listener socket loss if AcceptAsync returns synchronous

* crl store misup

* default port for sps

* comment all changes in respect to UA ANSIC server

* all SPS changes

* remove demo code
2017-12-05 14:33:25 +01:00

107 lines
4.5 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>
<ApplicationCertificate>
<StoreType>Directory</StoreType>
<StorePath>%LocalApplicationData%/OPC/PKI/own</StorePath>
<SubjectName>CN=Server Configuration Push Test Client, O=OPC Foundation</SubjectName>
</ApplicationCertificate>
<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 certficates are by default rejected and should be phased out. -->
<RejectSHA1SignedCertificates>false</RejectSHA1SignedCertificates>
<MinimumCertificateKeySize>1024</MinimumCertificateKeySize>
<AddAppCertToTrustedStore>false</AddAppCertToTrustedStore>
</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/ServerConfigurationPushTestClient.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>