Opc.Ua.Client.Config.xml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ApplicationConfiguration
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xmlns:ua="http://opcfoundation.org/UA/2008/02/Types.xsd"
  5. xmlns="http://opcfoundation.org/UA/SDK/Configuration.xsd"
  6. >
  7. <ApplicationName>Opc.Ua.Client</ApplicationName>
  8. <ApplicationUri>urn:localhost:UA:Opc.Ua.Client</ApplicationUri>
  9. <ProductUri>uri:opcfoundation.org:Opc.Ua.Client</ProductUri>
  10. <ApplicationType>Client_1</ApplicationType>
  11. <SecurityConfiguration>
  12. <!-- Where the application instance certificate is stored (MachineDefault) -->
  13. <ApplicationCertificate>
  14. <StoreType>Directory</StoreType>
  15. <StorePath>%LocalApplicationData%/OPC Foundation/pki/own</StorePath>
  16. <SubjectName>CN=Console Reference Client, C=US, S=Arizona, O=OPC Foundation, DC=localhost</SubjectName>
  17. </ApplicationCertificate>
  18. <!-- Where the issuer certificate are stored (certificate authorities) -->
  19. <TrustedIssuerCertificates>
  20. <StoreType>Directory</StoreType>
  21. <StorePath>%LocalApplicationData%/OPC Foundation/pki/issuer</StorePath>
  22. </TrustedIssuerCertificates>
  23. <!-- Where the trust list is stored -->
  24. <TrustedPeerCertificates>
  25. <StoreType>Directory</StoreType>
  26. <StorePath>%LocalApplicationData%/OPC Foundation/pki/trusted</StorePath>
  27. </TrustedPeerCertificates>
  28. <!-- The directory used to store invalid certficates for later review by the administrator. -->
  29. <RejectedCertificateStore>
  30. <StoreType>Directory</StoreType>
  31. <StorePath>%LocalApplicationData%/OPC Foundation/pki/rejected</StorePath>
  32. </RejectedCertificateStore>
  33. <!-- WARNING: The following setting (to automatically accept untrusted certificates) should be used
  34. for easy debugging purposes ONLY and turned off for production deployments! -->
  35. <AutoAcceptUntrustedCertificates>true</AutoAcceptUntrustedCertificates>
  36. <RejectSHA1SignedCertificates>false</RejectSHA1SignedCertificates>
  37. <MinimumCertificateKeySize>1024</MinimumCertificateKeySize>
  38. </SecurityConfiguration>
  39. <TransportConfigurations></TransportConfigurations>
  40. <TransportQuotas>
  41. <OperationTimeout>6000000</OperationTimeout>
  42. <MaxStringLength>1048576</MaxStringLength>
  43. <MaxByteStringLength>1048576</MaxByteStringLength>
  44. <MaxArrayLength>65535</MaxArrayLength>
  45. <MaxMessageSize>419430400</MaxMessageSize>
  46. <MaxBufferSize>65535</MaxBufferSize>
  47. <ChannelLifetime>-1</ChannelLifetime>
  48. <SecurityTokenLifetime>-1</SecurityTokenLifetime>
  49. </TransportQuotas>
  50. <ClientConfiguration>
  51. <DefaultSessionTimeout>-1</DefaultSessionTimeout>
  52. <MinSubscriptionLifetime>-1</MinSubscriptionLifetime>
  53. </ClientConfiguration>
  54. <DisableHiResClock>true</DisableHiResClock>
  55. <Extensions>
  56. </Extensions>
  57. <TraceConfiguration>
  58. <OutputFilePath>%LocalApplicationData%/log/Opc.Ua.Client.log.txt</OutputFilePath>
  59. <DeleteOnLoad>true</DeleteOnLoad>
  60. <!-- Show Only Errors -->
  61. <!-- <TraceMasks>1</TraceMasks> -->
  62. <!-- Show Only Security and Errors -->
  63. <!-- <TraceMasks>513</TraceMasks> -->
  64. <!-- Show Only Security, Errors and Trace -->
  65. <!-- <TraceMasks>515</TraceMasks> -->
  66. <!-- Show Only Security, COM Calls, Errors and Trace -->
  67. <!-- <TraceMasks>771</TraceMasks> -->
  68. <!-- Show Only Security, Service Calls, Errors and Trace -->
  69. <!-- <TraceMasks>523</TraceMasks> -->
  70. <!-- Show Only Security, ServiceResultExceptions, Errors and Trace -->
  71. <!-- <TraceMasks>519</TraceMasks> -->
  72. </TraceConfiguration>
  73. </ApplicationConfiguration>