Files
UA-.NETStandard/ComIOP/Wrapper/ProxyServer/Opc.Ua.ComProxyServer.Config.xml
T

74 lines
3.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<ApplicationConfiguration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://opcfoundation.org/UA/SDK/Configuration.xsd">
<ApplicationName>UA COM Proxy Server</ApplicationName>
<ApplicationUri>urn:localhost:UA COM Proxy Server</ApplicationUri>
<ProductUri>http://opcfoundation.org/UA/ComProxyServer</ProductUri>
<ApplicationType>Client_1</ApplicationType>
<SecurityConfiguration>
<!-- Where the application instance certificate is stored (MachineDefault) -->
<ApplicationCertificate>
<StoreType>Directory</StoreType>
<StorePath>%CommonApplicationData%\OPC Foundation\CertificateStores\MachineDefault</StorePath>
<SubjectName>UA COM Proxy Server</SubjectName>
</ApplicationCertificate>
<!-- Where the issuer certificate are stored (certificate authorities) -->
<TrustedIssuerCertificates>
<StoreType>Directory</StoreType>
<StorePath>%CommonApplicationData%\OPC Foundation\CertificateStores\UA Certificate Authorities</StorePath>
</TrustedIssuerCertificates>
<TrustedPeerCertificates>
<StoreType>Directory</StoreType>
<StorePath>%CommonApplicationData%\OPC Foundation\CertificateStores\UA Applications</StorePath>
</TrustedPeerCertificates>
<RejectedCertificateStore>
<StoreType>Directory</StoreType>
<StorePath>%CommonApplicationData%\OPC Foundation\CertificateStores\RejectedCertificates</StorePath>
</RejectedCertificateStore>
<AutoAcceptUntrustedCertificates>false</AutoAcceptUntrustedCertificates>
</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>
<DefaultSessionTimeout>60000</DefaultSessionTimeout>
<WellKnownDiscoveryUrls xmlns:d3p1="http://opcfoundation.org/UA/2008/02/Types.xsd">
<d3p1:String>opc.tcp://{0}:4840</d3p1:String>
<d3p1:String>http://{0}/UADiscovery/Default.svc</d3p1:String>
<d3p1:String>http://{0}:52601/UADiscovery/Default.svc</d3p1:String>
</WellKnownDiscoveryUrls>
<DiscoveryServers xmlns:d3p1="http://opcfoundation.org/UA/2008/02/Types.xsd" />
<EndpointCacheFilePath>Opc.Ua.ComProxy.Endpoints.xml</EndpointCacheFilePath>
<MinSubscriptionLifetime>60000</MinSubscriptionLifetime>
</ClientConfiguration>
<TraceConfiguration>
<OutputFilePath>Logs\Opc.Ua.ComProxyServer.log.txt</OutputFilePath>
<DeleteOnLoad>true</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>
<DisableHiResClock>false</DisableHiResClock>
</ApplicationConfiguration>