123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <?xml version="1.0"?>
- <configuration>
- <configSections>
- <section name="UaApplicationConfiguration" type="UnifiedAutomation.UaBase.ApplicationConfigurationSection,UnifiedAutomation.UaBase"/>
- </configSections>
- <UaApplicationConfiguration>
- <SecuredApplication xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://opcfoundation.org/UA/2011/03/SecuredApplication.xsd" xmlns:ua="http://opcfoundation.org/UA/2008/02/Types.xsd">
- <!-- Identify the Application -->
- <ApplicationName>UaServerNET</ApplicationName>
- <ApplicationUri>urn:localhost:UnifiedAutomation:UaGettingStartedServerNet</ApplicationUri>
- <ApplicationType>Server_0</ApplicationType>
- <!-- Specify location of Certificates and Trust Lists -->
- <ApplicationCertificate>
- <StoreType>Directory</StoreType>
- <StorePath>%CommonApplicationData%\unifiedautomation\UaSdkNetBundleEval\pkiserver\own</StorePath>
- <SubjectName>CN=GettingStartedServer/O=UnifiedAutomation/DC=localhost</SubjectName>
- <ValidationOptions>0</ValidationOptions>
- </ApplicationCertificate>
- <TrustedCertificateStore>
- <StoreType>Directory</StoreType>
- <StorePath>%CommonApplicationData%\unifiedautomation\UaSdkNetBundleEval\pkiserver\trusted</StorePath>
- <ValidationOptions>0</ValidationOptions>
- </TrustedCertificateStore>
- <IssuerCertificateStore>
- <StoreType>Directory</StoreType>
- <StorePath>%CommonApplicationData%\unifiedautomation\UaSdkNetBundleEval\pkiserver\issuers</StorePath>
- <ValidationOptions>0</ValidationOptions>
- </IssuerCertificateStore>
- <RejectedCertificatesStore>
- <StoreType>Directory</StoreType>
- <StorePath>%CommonApplicationData%\unifiedautomation\UaSdkNetBundleEval\pkiserver\rejected</StorePath>
- <ValidationOptions>0</ValidationOptions>
- </RejectedCertificatesStore>
- <!-- Specify Endpoints the Server will use -->
- <BaseAddresses>
- <BaseAddress>opc.tcp://localhost:48030</BaseAddress>
- <!--
- Uncomment this line to enable the HTTPS based profiles.
- This profile works but is not officially supported in this version of the SDK.
- This is the HTTP based protocol that will be supported by embedded devices.
- Enabling this profile requires that you have a HTTPS certificate issued by a certificate authority
- in your root certificate store. You can create your own authority and add it to the root store or
- you can use authorities like VeriSign or Thawte.
- -->
- <!--
- <BaseAddress>https://localhost:48031/</BaseAddress>
- -->
- <!--
- Uncomment this line to enable the WS-Secure Conversation based profiles.
- This profile works but is not officially supported since it is not practical to support on embedded devices.
- You should not enable this protocol unless you have an application that must support XML Web Services.
- -->
- <!--
- <BaseAddress>http://localhost:48032/wssecurity/</BaseAddress>
- -->
- </BaseAddresses>
- <!-- Specify the SecurityProfiles the Server supports -->
- <SecurityProfiles>
- <SecurityProfile>
- <ProfileUri>http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256</ProfileUri>
- <Enabled>true</Enabled>
- </SecurityProfile>
- <SecurityProfile>
- <ProfileUri>http://opcfoundation.org/UA/SecurityPolicy#None</ProfileUri>
- <Enabled>true</Enabled>
- </SecurityProfile>
- </SecurityProfiles>
- <!-- Specify Configuration for Different Components (Can include 'YourCompany' Configuration) -->
- <Extensions>
- <!-- Specify the Trace settings for the Application -->
- <Extension>
- <TraceSettings xmlns="http://unifiedautomation.com/schemas/2011/12/Application.xsd" MasterTraceEnabled="false" DefaultTraceLevel="Info">
- <TraceFile>%CommonApplicationData%\unifiedautomation\logs\UaSdkNetBundleEval\UaGettingStartedServerNet.log.txt</TraceFile>
- <MaxEntriesPerLog>100000</MaxEntriesPerLog>
- <MaxLogFileBackups>3</MaxLogFileBackups>
- <ModuleSettings>
- <ModuleTraceSettings ModuleName="UnifiedAutomation.Stack"/>
- <ModuleTraceSettings ModuleName="UnifiedAutomation.Server"/>
- </ModuleSettings>
- </TraceSettings>
- </Extension>
- <!-- Specify Settings when EXE is run with the /install argument -->
- <Extension>
- <InstallationSettings xmlns="http://unifiedautomation.com/schemas/2011/12/Application.xsd">
- <GenerateCertificateIfNone>true</GenerateCertificateIfNone>
- <DeleteCertificateOnUninstall>true</DeleteCertificateOnUninstall>
- </InstallationSettings>
- </Extension>
- <!-- Specify Settings for the ServerManager -->
- <Extension>
- <ServerSettings xmlns="http://unifiedautomation.com/schemas/2011/12/Application.xsd">
- <ProductName>UnifiedAutomation GettingStartedServer</ProductName>
- <DiscoveryRegistration>
- <Enabled>false</Enabled>
- </DiscoveryRegistration>
- </ServerSettings>
- </Extension>
- <Extension>
- <SessionSettings xmlns="http://unifiedautomation.com/schemas/2011/12/Application.xsd">
- <MaxSessionCount>100</MaxSessionCount>
- </SessionSettings>
- </Extension>
- <!-- Specify Settings for the SubscriptionManager -->
- <Extension>
- <SubscriptionSettings xmlns="http://unifiedautomation.com/schemas/2011/12/Application.xsd">
- <MaxSubscriptionCount>500</MaxSubscriptionCount>
- </SubscriptionSettings>
- </Extension>
- </Extensions>
- </SecuredApplication>
- </UaApplicationConfiguration>
- </configuration>
|