mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-24 02:58:36 +08:00
98 lines
4.0 KiB
XML
98 lines
4.0 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 Global Discovery Client</ApplicationName>
|
|
<ApplicationUri>urn:localhost:OPCFoundation:GdsClient</ApplicationUri>
|
|
<ProductUri>http://opcfoundation.org/UA/GdsClient/</ProductUri>
|
|
<ApplicationType>Client_1</ApplicationType>
|
|
|
|
<SecurityConfiguration>
|
|
|
|
<ApplicationCertificate>
|
|
<StoreType>Directory</StoreType>
|
|
<StorePath>%CommonApplicationData%\OPC Foundation\GDS\PKI\own</StorePath>
|
|
<SubjectName>CN=UA Global Discovery Client/O=OPC Foundation/DC=localhost</SubjectName>
|
|
</ApplicationCertificate>
|
|
|
|
<TrustedIssuerCertificates>
|
|
<StoreType>Directory</StoreType>
|
|
<StorePath>%CommonApplicationData%\OPC Foundation\GDS\PKI\issuers</StorePath>
|
|
</TrustedIssuerCertificates>
|
|
|
|
<TrustedPeerCertificates>
|
|
<StoreType>Directory</StoreType>
|
|
<StorePath>%CommonApplicationData%\OPC Foundation\GDS\PKI\trusted</StorePath>
|
|
</TrustedPeerCertificates>
|
|
|
|
<RejectedCertificateStore>
|
|
<StoreType>Directory</StoreType>
|
|
<StorePath>%CommonApplicationData%\OPC Foundation\GDS\PKI\rejected</StorePath>
|
|
</RejectedCertificateStore>
|
|
|
|
</SecurityConfiguration>
|
|
|
|
<TransportQuotas>
|
|
<OperationTimeout>120000</OperationTimeout>
|
|
<MaxStringLength>1048576</MaxStringLength>
|
|
<MaxByteStringLength>4194304</MaxByteStringLength>
|
|
<MaxArrayLength>65535</MaxArrayLength>
|
|
<MaxMessageSize>4194304</MaxMessageSize>
|
|
<MaxBufferSize>65535</MaxBufferSize>
|
|
<ChannelLifetime>300000</ChannelLifetime>
|
|
<SecurityTokenLifetime>3600000</SecurityTokenLifetime>
|
|
</TransportQuotas>
|
|
|
|
<ClientConfiguration>
|
|
<DefaultSessionTimeout>600000</DefaultSessionTimeout>
|
|
<MinSubscriptionLifetime>10000</MinSubscriptionLifetime>
|
|
</ClientConfiguration>
|
|
|
|
<Extensions>
|
|
<ua:XmlElement>
|
|
<GlobalDiscoveryClientConfiguration xmlns="http://opcfoundation.org/UA/GDS/Configuration.xsd">
|
|
<GlobalDiscoveryServerUrl>opc.tcp://localhost:58810</GlobalDiscoveryServerUrl>
|
|
<ExternalEditor>devenv.exe</ExternalEditor>
|
|
<TemporaryStorePath>%CommonApplicationData%\OPC Foundation\GDS\PKI\temporary</TemporaryStorePath>
|
|
</GlobalDiscoveryClientConfiguration>
|
|
</ua:XmlElement>
|
|
<ua:XmlElement>
|
|
<ListOfOAuth2Credential xmlns="http://opcfoundation.org/UA/SDK/Configuration.xsd">
|
|
<OAuth2Credential>
|
|
<AuthorityUrl>https://login.microsoftonline.com/opcfoundationprototyping.onmicrosoft.com</AuthorityUrl>
|
|
<GrantType>authorization_code</GrantType>
|
|
<ClientId>f8b31779-d9a3-43ff-b854-28f27a52e2f2</ClientId>
|
|
<RedirectUrl>https://localhost:62540/prototypeclient</RedirectUrl>
|
|
<TokenEndpoint>/oauth2/token</TokenEndpoint>
|
|
<AuthorizationEndpoint>/oauth2/authorize</AuthorizationEndpoint>
|
|
<Servers>
|
|
<OAuth2ServerSettings>
|
|
<ApplicationUri>urn:localhost:somecompany.com:GlobalDiscoveryServer</ApplicationUri>
|
|
<ResourceId>https://localhost:62540/prototypeserver</ResourceId>
|
|
</OAuth2ServerSettings>
|
|
</Servers>
|
|
</OAuth2Credential>
|
|
</ListOfOAuth2Credential>
|
|
</ua:XmlElement>
|
|
</Extensions>
|
|
|
|
<TraceConfiguration>
|
|
<OutputFilePath>Logs\Opc.Ua.GdsClient.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>
|
|
|
|
</ApplicationConfiguration> |