Commit Graph

508 Commits

Author SHA1 Message Date
ejoseca de838b727a Fixes saving client session to XML. (#757)
Fixed bug in Opc.Ua.Client.Save method.
2019-07-22 16:08:50 +03:00
AlinMoldovean e257ba07df Fix to avoid timer interval higher than Int32.MaxValue in ClientSubscription.StartKeepAliveTimer() 2019-06-19 16:19:02 +03:00
Chris Law 92fa5182ae Change to catch error from validating the server certificate. Fixing #710 and #678. (#739) 2019-06-10 15:58:24 +03:00
AlinMoldovean f5bee6ec7c Set default configuration of ReferenceServer to reject certificates with unknown revocation status. 2019-05-31 15:45:27 +03:00
AlinMoldovean 2fa6ba398d Set RejectUnknownRevocationStatus configuration flag to false by default in Reference Server 2019-05-23 12:57:02 +03:00
AlinMoldovean f062bfdc89 Compliance fixes in CertificateValidator.
Added setting in SecurityConfiguration to require revocation lists for all CAs
2019-05-21 17:42:59 +03:00
Alin Moldovean 40db29f3a2 Fixes #703.
Fix regression caused by #656. Add a MonitoredItem constructor to allow keeping the ClientHandle of the template. (#704)
2019-04-17 10:03:19 +03:00
Alin Moldovean 0a6b1cb3e3 CTT compliance fixes. (#702) 2019-04-15 11:58:23 +03:00
Martin Regen 93146020a4 Certificate Validator tests and Pem writer fix (#701)
- add more tests verify how longer cert chains are built and verified with the cert validator
- some tweaks to cert factory to allow for building Sub CA certs
- allow to set the Basic Constraint  / Path Length for CA certs
- fix #695 PKCS#8 format is now used
- add additional check to verify incomplete chain signatures
2019-04-12 16:47:34 +02:00
Bilge Kaan KAZAZ ef4c918494 Fixes the wrong DisplayName issue of a MonitoredItem after reconnect 2019-03-22 21:50:11 +03:00
Martin Regen 64db8c73a9 IOP GDS cert related fixes (#674)
* do not require server capabilities
* fixes for cert creation key usage flags
2019-03-18 12:37:04 +01:00
Alin Moldovean cbeb24eb5e Merge pull request #652 from jh-isw/master
correct indentation
2019-02-28 13:45:52 +02:00
julien 593aefd3b3 Fix Wrong clientHandle when reconnecting a session ; the clone / template procedures where not keeping this precious unique identifier. 2019-02-19 10:28:15 +01:00
Jan Hecht 8af6c278c5 correct indentation 2019-02-17 18:07:48 +01:00
AlinMoldovean 8b374a7448 Copyright year set to 2019 in license notices. 2019-02-14 12:34:33 +02:00
Alin Moldovean ea1911c4a1 Update UA NodeSets and generated code with the latest fixes for V1.04 (#637) 2019-02-05 16:00:12 +02:00
Ahmed Ashour 0203717182 Update Session.cs (#622)
Fix typos
2019-01-14 15:19:17 +02:00
Alin Moldovean b8d911c569 Updates for V1.04 attributes in Client and Server (#614)
* Update for 1.04 attributes in ClientSession.ReadNode()

* Fix in ClientSession.ReadNode()

* Updates for 1.04 Attributes in server.

* Discard inner value for attributes with bad status codes in ClientSession.ReadNode().

* Remove unused attribute from AttributeWriteMask
2018-12-17 12:53:19 +02:00
Camille Guérin 3546e56e05 Fixed GetServiceResult null checks
Fixed wrong null checks for Notification message in GetServiceResult(IEncodeable notification) and GetServiceResult(IEncodeable notification, int index)
2018-11-14 09:57:19 +01:00
Martin Regen ce4921988e Refactor gds internal interface to use cert group and type strings (#578)
…instead of node id

It simplifies storage of cert group and type in attached db as string.
All GDS unit tests pass.
Breaking change (for GDS) due to interface change.
2018-10-29 14:54:32 +01:00
Alin Moldovean d87df993f3 Merge pull request #576 from AlinMoldovean/master
Allow access to node managers from MasterNodeManager + IOP issue fix
2018-10-29 12:39:00 +02:00
Martin Regen d007a41d15 Add Aes profile support (#574)
* add the Aes128 and Aes256 profiles
* Aes profies were tested on IoP workshop against Ascolab, Softing, Matrikon, Milo, ProSys and others
* Pss padding is not supported on all platforms, so autodetect if it is supported and filter out Aes256 if not
* not a breaking change: not specifying the SecurityProfileUri in the config xml will automatically add all supported profiles but not deprecated profiles (e.g. Basic256Sha256, Aes128, Aes256). Aes256 is only added if the platform supports Pss padding. This will simplify the maintenance of config xml, since automatically all supported and secure profiles are exposed.
2018-10-29 09:58:45 +01:00
AlinMoldovean b9d07b0702 Merge branch 'master' of https://github.com/OPCFoundation/UA-.NETStandard 2018-10-29 09:16:48 +02:00
AlinMoldovean 8e5b34a91b fixes issue #533 allow access to NodeManagers of MasterNodeManager. 2018-10-26 11:04:32 +02:00
AlinMoldovean 9e74131f3b Do not discard ClientSession in case FetchNamespaceTables() goes in error. 2018-10-26 10:45:58 +02:00
Alin Moldovean 1121363a4c Merge pull request #560 from beeond/master
Allow ConsoleAggregationServer to load predefined nodes
2018-10-25 16:07:24 +02:00
Andrew Cullen fcc0e2f47b Allow ConsoleAggregationServer to load predefined nodes from an embedded resource. 2018-10-12 10:07:20 -04:00
AlinMoldovean 31a8235007 Added DecimalDataType node in ReferenceServer.
Predefined nodes updated to include DecimalDataType structure.
2018-10-12 16:00:40 +03:00
Martin Regen 493009dd53 Prototyping gds (#46)
* allow GDS configuration which doesn't auto approve
2018-09-25 12:20:50 +02:00
Alin Moldovean 23b35e9f6b Merge pull request #515 from AlinMoldovean/master
Certificate stores renamed according to specs
2018-09-13 17:55:30 +03:00
AlinMoldovean 2fc2d97975 Update logic for user certificate validation to allow self signed certificates. 2018-09-13 17:52:10 +03:00
AlinMoldovean 4ed82868da Update GDS certificate stores after code review. 2018-09-13 15:30:14 +03:00
AlinMoldovean ed40dea643 Update GDS certificate stores after code review. 2018-09-13 15:26:18 +03:00
Matze985 aa9b3ff30b Update README.md (#529)
Fix OPC UA Compliance Test Tool link
2018-09-11 16:34:59 +03:00
AlinMoldovean 9ff7f61fa1 Certificate stores renamed according to Part 12 specification recommendation. #383 2018-08-07 17:54:14 +03:00
AlinMoldovean fd6d13a995 Create custom configuration settings for user certificates in ReferenceServer. #383 2018-08-06 17:22:23 +03:00
AlinMoldovean 036320221b Create custom configuration settings and validators for user certificates. #383 2018-08-06 17:13:49 +03:00
Martin Regen ced33e1957 Improvements for cloud based Gds and V1.04 nodes (#508)
- all changes for cloud based GDS
 - build version of .net standard libs is now set in version.props, it may require updates for the official builds.
  - add new stuff for v1.04 nodeset, e.g. QueryApplications Api
  - gds.client/gds.server common dll changes to support a cloud based GDS.
2018-07-31 13:32:21 +02:00
Martin Regen ebe2330c8f Appveyor build fix (#507)
* replace outdated certs
* fix universal windows test build until 7/31/19
2018-07-31 09:58:53 +02:00
Alin Moldovean 92bef97e51 Fix for Mantix #4321 + deprecated security polices removed from config.xml files (#505)
* Fix for Mantis #4231. Refuse to use untrusted certificates to encrypt user identity tokens sent to servers.

* Deprecated security policies removed from default server config.xml files.
2018-07-18 08:28:07 +03:00
Martin Regen e6916f31be License info in V1.04 is not quite right (#503)
* Use OPC REDISTRIBUTABLES Agreement of Use in nuget packages (#424)

* Security policy Basic128Rsa15 removed from default server configurations.
2018-07-17 17:31:59 +03:00
Alin Moldovean 0d08d40180 Update NodeSets and generated code with latest fixes for V1.04 (#487)
Update NodeSets and generated code with latest fixes for V1.04 Errata
2018-06-26 09:29:36 +03:00
Alin Moldovean 1c7a208dc0 Fixes #436. Update method call validation in SampleNodeManager. (#477) 2018-06-19 09:00:11 +03:00
Pierre-Alain GALTIER 30cb2cf7fe Add lifeTimeInMonths capability to CheckApplicationInstanceCertificate. 2018-06-11 17:38:49 +02:00
Oyvind Landsnes 79f4da032c AddReferences method returns too early
The AddRefrences method exists in similar versions in several of the sample node manager classes. The method loops through a list of (external) references and adds them to the designated objects. When obtaining node handles it also checks that the node is valid in the current context. The problem was that it skipped the rest of  the nodes in the list as soon as it found one node that wass not valid. This change ensures that all nodes in the references list are processed.
2018-05-24 19:38:53 +02:00
Oyvind Landsnes d15e38212f fix(CustomNodemanager): AddReferences method returns too early
The AddRefrences method loops through a list of (external) references and adds them to the designated objects. When obtaining node handles it also checks that the node belongs to one of the namspaces for the  current node manager. The problem was that it skipped the rest of  the nodes in the list as soon as it found one node that did not belong to the currennt node manager.
2018-05-21 15:54:56 +02:00
AlinMoldovean 49fb32fdce Assembly version set to 1.04.353 2018-05-03 15:11:48 +03:00
Alin Moldovean eb5d0b2ee9 Merge pull request #415 from OPCFoundation/v1.03
Integrate V1.03 to master
2018-03-30 13:28:38 +03:00
AlinMoldovean 27ff681320 Assembly version set to 1.03.352 2018-03-29 16:23:01 +03:00
Martin Regen ec5cdd5ab6 Merge pull request #403 from OPCFoundation/v1.03
reverse integrate V1.03 to master (v1.04)
2018-03-16 19:35:08 +01:00