Commit Graph

340 Commits

Author SHA1 Message Date
Martin Regen bc78cded47 Merge pull request #387 from OPCFoundation/v1.03
reverse integrate V1.03 to master
2018-03-08 20:53:35 +01:00
AlinMoldovean 8d293f2175 fix endpointUrl in CoreConsoleClient. 2018-03-07 18:48:44 +02:00
AlinMoldovean 17dc14bcc5 Implement #362 - Certificate chain support. 2018-03-07 18:44:00 +02:00
Martin Regen 21cc6cb178 Merge pull request #377 from OPCFoundation/v1.03
V1.03 reverse integrate to master
2018-03-02 14:28:39 +01:00
Martin Regen 23f0e3abd7 add App Uri to csr / test app uri in signing request. Use domain names in signing request. 2018-02-28 11:49:37 +01:00
AlinMoldovean dfd9c717b6 #363 - Optional program control methods removed from ProgramStateMachineState 2018-02-22 18:37:08 +02:00
AlinMoldovean 0894364ca9 #363 - Generated code and NodeSets for V1.04 OPC UA Specifications 2018-02-22 13:41:30 +02:00
Martin Regen 75d8b2ca3c Fix .Net 4.6 Https client and server (#359)
- best possible fix for #189 to reenable https servers 
- `UA Sample Client` and `UA Sample Server` expose https server. libuv.dll is by default for x64. Change 
```
<PropertyGroup>
   <RuntimeIdentifier>win7-x64</RuntimeIdentifier>
   <BaseNuGetRuntimeIdentifier>win7-x64</BaseNuGetRuntimeIdentifier>
</PropertyGroup>
```
to win7-x86 if required.
- fix exception in https client when setting the Timeout
- fix travis build script for linux. kestrel server on ubuntu doesn't respond on ipv6Any ipaddress.
- fix a timing problem in the travis script.
2018-02-20 11:27:00 +01:00
Martin Regen 4d05093462 Clean up nuget dependencies (#353)
- remove dependency on System.Private.ServiceModel, it should not be used directly
- remove packages.config, VS2017 doesn't need it
- use ref to .Net instead of nuget to reduce number of packages used
2018-02-16 19:14:12 +01:00
Daniele Colonna 61a6ba276e Add Readme for UA Xamarin Client (#352)
* Add Readme
* fix compiler warning
2018-02-15 11:03:12 +01:00
Martin Regen e21f99eaf6 Fixes for https client and server (#346)
* Fixes for https client and server (#38)

HTTPS server fixes:
- Kestrel 2.0 in netcoreapp 2.0 server samples: only responds to some clients, not to UA samples at all. Fix configuration (listen to all ip addresses) 

HTTPS client fixes:

- bug: client gets stuck if subscription is active by nesting too many calls (use async callback)
- https client needs server cert in a trusted store or it refuses connection (auto accept server certs, but fix is not supported on all platforms, e.g. UWP apps still require a cert in the trusted store)
- runtime issues with .Net 4.6. apps (cannot find diagnostics dll) --> workaround is to manually add nuget package of System.Net.http 4.3.3

- Add https connection to travis test script (only .Net Core)

* fix shell script exe

* also listen on ipv6 port

* do not use auto validation on OSX
2018-02-08 13:58:07 +01:00
Daniele Colonna a614964378 add Xamarin OPC UA sample client (#337)
* add Xamarin OPC UA sample client
2018-02-07 19:15:48 +01:00
Martin Regen b9a1a09937 Gds CA provider interface abstraction (#344)
* refactor GDS with a CA provider to allow replacement
* Fill push server list with FindServersOnNetwork
* feedback and issues found in IOP workshop
2018-02-06 14:26:01 +01:00
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 9792df49eb IOP workshop fixes for reference server (#341)
* DataValue cannot contain a DataValue by spec
* default to Basic256Sha256
* default DataValue should return null
2018-02-05 14:54:55 +01:00
Martin Regen dbef06aa82 Fix ip address parser, domain name check and reconnect (#333)
* bug fix in cert parser: return normalized ipaddress string instead of hex byte array string
* connect with domain cert check,
* fix ip address compares,
* add dialog to connect anyway if cert domain check fails
* fix reconnect case when cert domain check fails
2018-01-25 08:55:26 -07:00
Martin Regen 7bf9c79ba6 Fix icons in .Net apps (#332)
* fix windows form apps, when icon on the taskbar disappears but is still running
* use exceptiondlg where it was missing
* change GetAssemblyTimestamp, pe header is not containing a timestamp in .net core assemblies
2018-01-25 08:36:15 -07:00
Martin Regen d470f7d69c Merge pull request #325 from mregen/mono
* do not dispose RSA keys on mono
* fix versioning up to .351 for next release
2018-01-23 09:38:35 -07: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 cebc4f190b Add ServerCap & hostname RegisterServer2 LDS-ME registration (#322)
* Add ServerCap & hostname RegisterServer 2 LDS-ME registration

* GDS always register with LDS-ME
2018-01-11 14:38:12 +01:00
Martin Regen 953c2a0578 fix travis script for mono 2018-01-10 17:28:25 +01:00
Martin Regen 30d8414472 add travis build for mono 2018-01-09 17:17:40 +01:00
Martin Regen 6c417322ea Merge remote-tracking branch 'origin/master' into mono 2018-01-09 13:36:29 +01:00
Martin Regen d72a9f2361 bump up for next release 1.03.351 2018-01-05 17:04:43 +01:00
Martin Regen b627b89797 Merge version update from 1.03 2018-01-05 16:42:19 +01:00
Martin Regen b4d0c3200f Change versioning to allow for patching of nuget packages (#312)
* Fix library versions

* version properly for strong names
2018-01-05 16:31:05 +01:00
Martin Regen 13b9f00dd3 Add Quickstart Applications from .NET repo
building..
unify the way .Net apps are started
2018-01-05 16:24:56 +01:00
Martin Regen beda27552d add mono console projects / revert net core projects 2017-12-22 12:47:44 +01:00
Martin Regen 2fa9ea9e2a change console server project to run with mono 5.4 2017-12-22 11:49:26 +01:00
Martin Regen 4a6f34d007 fix links and add sample screenshot to GDS doc (#300) 2017-12-13 09:47:16 +01:00
Martin Regen dac67d09c5 Global Discovery Server and Client documentation (#298) 2017-12-12 13:32:04 +01:00
Martin Regen 4345640c03 Fix CR feedback & travis macOS build fix (#36)
* improve gds creation test, verifiy integrity of returned certs

* split test runs to avoid file handle problem on macOS

* cr feedback
2017-12-08 22:55:27 +01:00
Martin Regen eeec2a8389 Update cert without restarting the TCP listener 2017-12-07 12:05:31 +01:00
Martin Regen 9926e40be8 my own CR feedback 2017-12-06 16:55:43 +01:00
Martin Regen fb5a676209 Gds improvements for SPS demo (#35)
* fixes in gds client app to support server push

* race condition with netcore 2.0.3 with docker

* more server entries

* Revert "race condition with netcore 2.0.3 with docker"

This reverts commit d983452e41dc29c1f3d8c5ca1ae7aa683275a68e.

* listener socket loss if AcceptAsync returns synchronous

* crl store misup

* default port for sps

* comment all changes in respect to UA ANSIC server

* all SPS changes

* remove demo code
2017-12-05 14:33:25 +01:00
Martin Regen 394f5baacf Implement cert update, more tests 2017-11-19 01:47:54 +01:00
Martin Regen 28e3e12cef make client tests configurable to use external GDS/push servers 2017-11-17 10:51:13 +01:00
Martin Regen 5a1ba07619 enable server configuration for reference server and more. 2017-11-16 23:13:04 +01:00
Martin Regen 5b4bfbeac4 Mark GDS template in lib as 'sample' server 2017-11-16 23:10:12 +01:00
Martin Regen e2f23e6d6e Linux/macOS catch bad padding mode 2017-11-16 16:17:52 +01:00
Martin Regen 5de112d59b macOS: cannot verify public/private key with crypto op when keyUsage doesn't allow dataencipherment 2017-11-16 15:14:41 +01:00
Martin Regen e156a3c3da PEM support (#33) 2017-11-15 21:08:43 +01:00
Martin Regen 09fbb05752 Gds work travis (#32)
fix appveyor and travis builds
2017-11-15 09:45:28 +01:00
Martin Regen 36e99a2e09 travis build linux 2017-11-12 22:43:55 +01:00
Martin Regen c87c3f04a6 server configuration
- implement trust list control write
- more test cases
2017-11-12 19:49:15 +01:00
Martin Regen d2356df0fb fix warnings 2017-11-12 19:44:05 +01:00
Martin Regen 35f737d5af implement UpdateCertificate and self signed test case 2017-11-11 00:40:34 +01:00
Martin Regen bfeee65f8a enable server push in gds client, add a few test cases 2017-11-09 12:17:28 +01:00