Commit Graph
310 Commits
Author SHA1 Message Date
Martin Regen da2afd82c2 catch an exception which may occur in rare cases (#439) 2018-05-05 09:28:50 +02:00
AlinMoldovean 8b72de7cae Fixes #231 - TraceOutput.StdOutAndFile removed since not supported 2018-05-03 17:26:52 +03: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 3c1159ec71 add v1.04 caps (#406) 2018-03-26 10:39:46 +02:00
Martin Regen fb8a3884d9 nonce should be compared without revealing timing information. (#407) 2018-03-26 09:08:25 +02:00
AlinMoldovean 3cdfe56f32 NodeSets and generated code updated to include UserCredentialCertificateType 2018-03-19 12:35:09 +02: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
Martin Regen e2a4020984 Fix V103 nohttps build (#401)
- Fix the NO_HTTPS build to reduce publish size if HTTPS is not needed
e.g. `dotnet build /p:NoHttps=true`
- Limit language Version to C#6 for VS 2015 compat
- add travis & appveyor cases for nohttps build
- enable GDS Https transport
- update nuspec
2018-03-16 10:21:32 +01:00
AlinMoldovean c2fbfaa0e6 "XmlAnyAttributeAttribute" attributes removed from OPCBinarySchema - generates issues for Xamarin 2018-03-15 13:55:25 +02:00
AlinMoldovean 3d41b8fc32 "XmlAnyAttributeAttribute" attributes removed from OPCBinarySchema - generates issues for Xamarin 2018-03-14 15:51:02 +02:00
Marc Schier 694cbeab91 Merge fix from master (#393) 2018-03-12 13:28:40 +01:00
Marc Schier 467acc5d13 Fix nesting level overflows when value is null (#392) 2018-03-12 11:31:40 +01:00
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
Martin Regen b068633b24 Fix https server start in quickstart apps (#386)
- add helper batch files to start / stop all apps
- distribute ports to be able to run all apps at the same time
- fix config files
- fix csproj to include libuv.dll for kestrel servers
- fix race condition in https listener
2018-03-08 20:50:04 +01:00
AlinMoldovean 6ba20ba31a fix tabs in ApplicationConfiguration.xsd 2018-03-07 18:53:36 +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
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
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 30d8414472 add travis build for mono 2018-01-09 17:17:40 +01:00
Martin Regen 9f8affb05f Determine RSA dispose at runtime 2018-01-09 15:38:38 +01:00
Martin Regen 1f444a5186 Revert "keep readable store open"
This reverts commit 217f03099b.
2018-01-09 13:58:32 +01:00
Martin Regen 6c417322ea Merge remote-tracking branch 'origin/master' into mono 2018-01-09 13:36:29 +01:00
Martin Regen ca5cfb69d0 Merge remote-tracking branch 'mregen/subjectcheck' into quickstart 2018-01-05 18:05:50 +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 390b481ea9 fix from stefano to pass cert creation 2017-12-22 13:54:32 +01:00
Martin Regen 217f03099b keep readable store open 2017-12-22 10:58:54 +01:00
Martin Regen 83365f3c05 return copy of enumeration, or mono may dispose Certificates 2017-12-21 16:42:50 +01:00
Martin Regen 806df6127d fix build 2017-12-21 15:58:07 +01:00
Martin Regen 032bc6ade7 remove all dispose from RSA objects to work around mono bug 2017-12-21 15:41:46 +01:00
Martin Regen 2e4d719a19 Revert "do not dispose keys on mono"
This reverts commit bdac9fa356.
2017-12-21 13:20:53 +01:00
Martin Regen 8e89b941ed Revert "missed a few usings..."
This reverts commit 4720125a37.
2017-12-21 13:20:43 +01:00
Martin Regen 4720125a37 missed a few usings... 2017-12-20 22:24:59 +01:00
Martin Regen bdac9fa356 do not dispose keys on mono 2017-12-20 16:35:25 +01:00
Martin Regen 256ac8e5bd False existing cert might be loaded if only subject is given in Application Configuration. Test the full CN= distiguished name entry to ensure the subjectname of the cert matches. 2017-12-13 12:22:00 +01:00
Martin Regen 5c09e5f869 return null for empty xml documents (#299) 2017-12-13 09:46:48 +01:00
Martin Regen 33c8c4d4c2 Merge pull request #284 from mregen/gds_work_certs
GDS Server updates and Standard server push configuration
2017-12-08 22:56:34 +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