Commit Graph

363 Commits

Author SHA1 Message Date
Martin Regen d2566c60bd X509store mac fix and travis improvements (#264)
* X509store mac os (#31)

* Fix problem when X509Store CurrentUser\\UA_MachineDefault cannot be created on macOS with .NetStandard2.0
Fix: Use CurrentUser\My instead for all machine certs to make console apps portable.

* prep console sample apps for smoke test
* update travis image
* run sample server and client as smoke test


* ignore travis osx build failure until travis is fixed
2017-10-12 11:16:09 +02:00
Martin Regen 6f2fa512c1 Update UACTT reference definition file for UACTT 1.03.340.358 (#268)
* Update CTT reference

* update main README with X509Store and .NetStandard 2.0

* doc update for ref server
2017-10-11 11:55:10 +02:00
Martin Regen f63f7e7e21 CR feedback 2017-10-05 23:09:24 +02:00
Martin Regen 41e33f6c5d remove dependency on Cannoli Services
dialog improvements
2017-10-02 17:57:13 +02:00
Martin Regen 868973d789 Merge from master 2017-10-02 16:31:21 +02:00
AlinMoldovean c633051aa9 Fixes #215 - SubscriptionDiagnostics node created with subscription which could not be created. 2017-09-27 16:50:53 +03:00
Martin Regen 28744c7e8a remove History Client 2017-09-26 18:59:40 +02:00
Martin Regen 2742d4585c enable sha256 in ref server and fix cert validation check 038 (#247)
* enable sha256 in ref server and fix cert validation check 038

* fix localisation issue in authority key parser

* IOP Workshop: ref server doesn't set source timestamp

* Fix localisation issue with cert extension parsing

* fix exception when issuer cert has no auth key serial number/issuer
2017-09-25 17:13:41 +02:00
Martin Regen 13522a56d4 Merge pull request #29 from mregen/localisation-fix
IOP workshop fixes
2017-09-22 08:42:25 +02:00
Martin Regen 385cbbbfc2 IOP Workshop: ref server doesn't set source timestamp 2017-09-21 15:26:56 +02:00
Martin Regen 8658f5b655 Merge branch 'gds_server2' of https://github.com/mregen/UA-.NetStandardLibrary into gds_server2 2017-09-21 11:12:09 +02:00
Martin Regen 8917e1160f Merge updates from master 2017-09-21 11:11:46 +02:00
Martin Regen 02d47f1f09 enable sha256 in ref server and fix cert validation check 038 2017-09-20 15:16:32 +02:00
Martin Regen bbe8e72d3a fix case when there is no pfx and der cert yet 2017-09-19 07:27:49 +02:00
Martin Regen d850f64f81 Support .netstandard2.0 (#237)
* add missing ref for build in VSO hosted VS 2017 build

* project to just build Dlls

* target multiple frameworks

* switch to net46/netstandard1.3

* fix projects to allow for netcoreapp 2.0 build

* fix networking for .Net Core 2.0:
SendAsync and ReceiveAsync now frequently return synchronously even if successful. These cases had not been properly handled yet, previous versions never hit these codepaths.

* fix travis build / nugets

* change travis build target

* fix Kestrel https option for netstandard 2.0
tested with Ua Expert against standard and ref server

* Handle special case correctly, when zero bytes are received its ok, or BadTimeout will occur

* simplify connect, reduce DiscoverEndpoint calls
2017-09-15 09:37:32 +02:00
Martin Regen 0eedd12993 GDS client fixes 2017-09-14 14:39:01 +02:00
Martin Regen cf37abbd81 Merge remote-tracking branch 'origin/proto_netstandard2.0' into gds_server2 2017-09-12 17:17:18 +02:00
Martin Regen c23a112411 fix Kestrel https option for netstandard 2.0
tested with Ua Expert against standard and ref server
2017-09-11 14:20:48 +02:00
Martin Regen b54d369432 implicit definition of CertificateGroup causes 'false' return of TryGetValue, even if value exists 2017-09-04 08:09:58 +02:00
Martin Regen 519c46d758 -disable server push
-handle 'own' cert store + subject to create cert
-handle seperate cert (der+pem) + (pfx+pem) combination to sign cert
2017-08-29 13:31:38 +02:00
Martin Regen a8569d0f03 change travis build target 2017-08-25 09:54:10 +02:00
Martin Regen aa0129bf37 Merge pull request #24 from mregen/master
Integrate a library only build
2017-08-25 09:41:41 +02:00
Martin Regen 644d65d488 Merge .NetStandard 2.0 support 2017-08-24 21:11:07 +02:00
Martin Regen 49a151bbb8 -#ifdef HTTPS support
-add ability to load RegisteredApplication
-clean up
2017-08-24 21:04:11 +02:00
Martin Regen 6749bad0ac fix projects to allow for netcoreapp 2.0 build 2017-08-24 18:12:42 +02:00
Martin Regen f40b8af4bf switch to net46/netstandard1.3 2017-08-24 09:34:01 +02:00
Martin Regen 3e6b8c606d target multiple frameworks 2017-08-23 19:11:29 +02:00
Martin Regen 4f8b522b57 tested and fixed the two cases:
i) register the gds server with itself, create a CA signed cert. The app cert is in directory.
ii) register the gds client with gds, create a CA signed cert. The app cert is in x509 store.

using the UA-.NetStandard config xml.
2017-08-23 16:53:22 +02:00
Martin Regen 58ee9df168 add a combo box to select cert group 2017-08-22 20:27:44 +02:00
Martin Regen 1e3a4b215a switch to net46/netstandard1.3 2017-08-22 19:24:10 +02:00
Martin Regen 10e77be20e target multiple frameworks 2017-08-22 14:42:20 +02:00
Martin Regen a15bd30367 Merge pull request #23 from mregen/master
add helper project
2017-08-22 13:55:25 +02:00
Martin Regen f560014b58 add gds status to status bar 2017-08-22 09:59:03 +02:00
Martin Regen 359e95fbe5 clean up warnings, errors. namespaces and unnecssary dependencies 2017-08-22 00:02:16 +02:00
Martin Regen 006b658b4f fix warnings / recommendations 2017-08-21 12:42:50 +02:00
Martin Regen dab5ce64d9 fix (c) 2017-08-21 12:20:07 +02:00
Martin Regen f55f614315 remove unused references 2017-08-20 10:01:04 +02:00
Martin Regen 23ba965fa5 use , in subjectname stringbuilder 2017-08-19 17:59:36 +02:00
Martin Regen b0046b2fc7 pem support for private key 2017-08-18 16:42:23 +02:00
Martin Regen db8c055744 finish refactoring 2017-08-18 15:49:32 +02:00
Martin Regen d7de694f41 fix typo 2017-08-18 15:48:16 +02:00
Martin Regen 3cd5c0e05b add ExceptionDlg to client controls 2017-08-18 15:44:55 +02:00
Martin Regen 15b48cbe77 add copyrights 2017-08-18 13:39:10 +02:00
Martin Regen 314c9c2c6a refactor GDS project to follow the structure of UA.Net codebase. Seperate ClientControls to seperate Dll. 2017-08-18 13:29:08 +02:00
Martin Regen 38fb6ecc60 fix connection string 2017-08-18 11:47:03 +02:00
Martin Regen 600b124b39 minor improvement in ref server 2017-08-18 11:46:52 +02:00
Martin Regen dbaa93721c fix build 2017-08-17 18:49:03 +02:00
Martin Regen d844c9ad03 Merge branch 'gds_server2' of https://github.com/mregen/UA-.NETStandardLibrary into gds_server2 2017-08-17 18:36:19 +02:00
Martin Regen 52a280e77e client side fixes 2017-08-17 18:36:12 +02:00
Martin Regen d298df9108 add user token, shutdown delay from ref server 2017-08-17 18:34:15 +02:00