Commit Graph

27 Commits

Author SHA1 Message Date
Martin Regen 5063ac0907 Console client improvements (#343)
* use config file for console sample
* filter unsupported security policies
* add reconnect handler
2018-02-06 14:15:16 +01:00
Martin Regen 150e0e417e fix typo, add one more mono build project 2018-01-12 17:33:59 +01:00
Martin Regen 714924856d fix mono test scrip and client 2018-01-12 16:06:48 +01:00
Martin Regen 2acfcc0a30 add mono client test 2018-01-12 15:09:00 +01:00
Martin Regen 915ad5b87c - add cert configuration nodes
- Update cert and sign request is still missing
- no security!
2017-11-07 16:33:15 +01:00
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 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 26881aab7a Client discovery and cert check improvements (#213)
Client discovery and cert check improvements
2017-08-01 17:04:35 +02:00
Erich Barnstedt deb3f120ca Small cleanup of cert factory I/F, removing implicit default parameters. 2017-06-23 15:52:41 +02:00
Erich Barnstedt a332f659e5 Adressed code review feedback. 2017-02-16 15:41:26 +01:00
Erich Barnstedt ad21a1b17a Merge pull request #125 from mregen/iot-proxy
Iot proxy
2017-01-24 12:35:03 +01:00
Martin Regen d450ef96a8 make TransportChannel generic 2017-01-23 13:19:12 +01:00
Erich Barnstedt 37cb8e221e Some servers don't accept a null user identity. 2017-01-23 08:42:37 +01:00
Martin Regen 5c370bd742 cert creation fixes
- certs were not created on Linux w. Openssl if a passcode was missing from the pkcs12 store
- stabilize the creation on windows where UWP is picky about the storage keys to use
- CR feedback
2016-12-08 18:35:31 +01:00
Martin Regen 2148d65084 improve cert handling of sample apps
- create self signed cert on first start (kudos to bouncy castle)
- fix path handling in many areas,
- ./ or ../ is treated as rooted dir
- special %LocalFolder% for UWP apps to allow to write certs in app temp storage
- all batch helpers to create certs removed
2016-12-07 18:29:24 +01:00
Martin Regen 07b70aeae0 fix console client applicationuri to match cert uri. 2016-12-06 10:11:14 +01:00
Martin Regen 509d48d2c8 Implement CRL support with Bouncy Castle. Tested with issuer certs from OPC.Ua.CertificateGenerator. Also port latest security updates from UA.Net project. 2016-09-13 17:29:16 +02:00
Martin Regen 291ab27d95 support [IPv6] addresses in URLs.
Let console server auto accept client certs to simplify testing
2016-09-02 12:18:26 +02:00
Martin Regen b749ef2530 Console client cert fixes: remove default certs, add windows batch to create app certs 2016-07-25 22:13:19 +02:00
Erich Barnstedt e11385723f * Removed empty project stubs.
* Removed HTTPS validation for WCF hosts (no longer needed)
* Simplified subscription creation in Publisher.
* Added headless .Net Standard publisher (a console app)
2016-06-27 16:33:02 +02:00
Erich Barnstedt 26e323d1de Fixed hard-coded path seperators.
More TODO cleanup.
2016-06-21 16:57:11 +02:00
Martin Regen 9dd72c8181 fix many Path characters for Linux and iOS. certs are found in <app.exe>\certs <app.exe>\private etc. 2016-06-20 23:23:37 +02:00
Martin Regen cd574f1bc8 NetCoreApp connects also without certs 2016-06-17 18:15:08 +02:00
Martin Regen c2779f8f27 Polish .NetCore Console sample, allow cmd line server arg 2016-06-15 12:17:45 +02:00
Martin Regen 6873a165c3 Use secure connection in console sample 2016-06-14 17:58:31 +02:00
Martin Regen c6110dcc5b .NetCore console client sample connecting to UA Sample Server on the same host 2016-06-13 15:26:25 +02:00
Martin Regen 64de85e16f .NetStandard solution with a variety of project templates referencing .NetStandard Opc.Ua class libraries 2016-06-12 19:37:55 +02:00