Commit Graph

58 Commits

Author SHA1 Message Date
Martin Regen 2fa9ea9e2a change console server project to run with mono 5.4 2017-12-22 11:49:26 +01:00
Martin Regen 5a1ba07619 enable server configuration for reference server and more. 2017-11-16 23:13:04 +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 73ac861c89 Merge pull request #17 from OPCFoundation/master
Merge with Master
2017-06-29 09:29:54 +02:00
Erich Barnstedt aa06912d24 Merge pull request #170 from OPCFoundation/develop_erichb
Porject file upgrade, remove telemetry webapp & cert factory changes for GDS
2017-06-28 14:16:43 -07:00
Martin Regen 3f21d1a0ab merge 2017 changes 2017-06-26 17:22:26 +02:00
Martin Regen 56bf36b1de cleanup, CTT recommends either L or DC in distinguished name 2017-06-22 16:38:40 +02:00
Marc Schier 55fee0497d Ensure console server registers and unregisters with LDS (#173) 2017-06-20 08:50:54 +02:00
Erich Barnstedt e6f0ca9420 Upgrade to VS2017/.Net1.1 2017-06-09 17:50:23 +02:00
Erich Barnstedt ef8fe340b6 1. Removed SecurityLevel from server config, it is now automatically calculated for each endpoint description.
2. Fixed spelling/grammar in a few places.
2017-05-08 12:29:57 +02:00
Martin Regen 3c52cf7761 - allow subjectnames with CN=xxx, O= etc.
- misc. bugfixes
- pen: set default security to highest
- pen: cert default lifetime 12 month
2017-04-27 14:21:47 +02:00
Marc Schier 2af2a4dd75 Add visual studio 2017 solution file to allow building .net Standard … (#150)
* Add visual studio 2017 solution file to allow building .net Standard stack and console samples

* Enable VS 2015 when VS 2017 is installed

* Update readme
2017-03-23 11:17:39 +01:00
Erich Barnstedt 8074adbac1 Added description. 2017-02-20 09:07:16 +01:00
Erich Barnstedt e768b359e6 Remove security mode 0 (no security) from all configurations as it is a secrity risk. 2017-02-19 18:12:40 +01:00
Erich Barnstedt b0f55493e1 Fixed / 2017-02-16 15:57:02 +01:00
Erich Barnstedt a332f659e5 Adressed code review feedback. 2017-02-16 15:41:26 +01:00
Erich Barnstedt 986bca7b8a Fixed names for Linux 2017-02-14 14:04:33 +01:00
Erich Barnstedt d73a9cffa3 Changed back to original, individual store names. 2017-02-14 14:01:09 +01:00
Erich Barnstedt 322490661a Enable tracing. 2017-02-14 13:10:37 +01:00
Erich Barnstedt e17fe6b5f4 Updated console server config to use noew X509Store. 2017-02-14 11:29:43 +01:00
Martin Regen dcb49fd39b helper launchSettings.json for .NetCore.App platform 1.1 issue.
Workaround for Exception SystemExecutionEngine in various certificate functions:

Workaround:
set environment variable:
set COMPlus_ReadyToRunExcludeList=System.Security.Cryptography.X509Certificates

(see https://github.com/dotnet/corefx/issues/12412)
2017-01-21 18:44:19 +01:00
Martin Regen f8876e2f35 reduce usage of Task.Run
build debugType portable
2017-01-12 11:24:16 +01:00
Martin Regen c0d2c7746f fix all .Net configs to use %CommonApplicationData% and LDS 2016-12-22 18:11:10 +01:00
Martin Regen a7ce895f7c -Move all uanodes and txt resources into dlls
-delete the obsolete uanodes/txt files in project folders

note: clean build required, make sure all dll are updated in bin folders or resources in dll may not be found
2016-12-16 16:00:17 +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 a62d11c3fb Basic256Sha256 support 2016-12-02 22:35:00 +01:00
Martin Regen d72724e80c update known working security policies, disable auto accept 2016-11-12 09:00:09 +01:00
Martin Regen 1287791c4f turn off tracing 2016-11-11 16:09:57 +01:00
Martin Regen 8b8c2f034f URI should contain hostname not localhost 2016-11-11 10:02:07 +01:00
Martin Regen 44b8fa50e9 default to 2048bit public keys in certs 2016-11-03 10:53:13 +01:00
Martin Regen 057912c825 - Fixes found during a CTT test pass. Many fixes also due to sync with .Net codebase.
- Sync codebase of Opc.Ua libraries to UA.Net 1.03.340 source on github.
-CTT stress failures and exceptions all fixed.
-Roughly 2 dozen CTT tests are still with red bubbles. Mainly very special cases.
2016-10-07 16:20:25 +02:00
Erich Barnstedt 72bab7aa8a Added a warning message regarding auto accepting untrusted certs for debugging purposes. 2016-09-05 15:31:31 +02:00
Martin Regen 86d6f2ef76 Merge pull request #4 from mregen/ipv6_fix
support [IPv6] addresses in URLs.
2016-09-02 12:23:15 +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 f78dde41c3 Merge pull request #3 from mregen/ubuntu_certfixes
Merge Ubuntu certfixes and Readme update
2016-09-01 20:02:52 +02:00
Martin Regen 118937831a do not ask for cert export password 2016-09-01 09:53:07 +02:00
Martin Regen ede936d590 windows helper batch CreateAllCerts.cmd to create all certs in one shot. 2016-08-30 19:23:11 +02:00
Erich Barnstedt 5966fa7dc0 Fix trace file configuration. 2016-08-19 10:05:05 +02:00
Erich Barnstedt d8dfeec434 Disable sample server registration with the LDS for now. Can revisit once we have LDS up and running. 2016-08-08 08:54:57 +02:00
Erich Barnstedt 4b654ce6ed Improvements on exception handling UI.
Removal of non-functioning cert generation methods.
Removal of obsolete COM methods.
Small error handling improvement in StandardServer.
2016-08-01 08:02:12 +02:00
Erich Barnstedt 70137cd963 Added CertificateGenerator.exe for creating certs with scripts for all samples. 2016-07-31 11:14:32 +02:00
Martin Regen cf8084fe3a Parse HOSTNAME for . on Linux platforms returning a FQDN (MacOS) 2016-07-27 07:27:24 +02:00
Martin Regen 99ac707a6f fix typo in openssl extension config 2016-07-26 00:52:10 +02:00
Martin Regen a26291663f OpenSSL scripts to create certs for client and server samples. 2016-07-26 00:18:50 +02:00
Martin Regen 555a982c06 Linux fixes: console apps are portable, dir separators in xml should always be / 2016-07-20 07:15:08 +02:00
Erich Barnstedt 425acdf3b9 Small console output change to show user his input was accepted. 2016-07-15 10:01:52 +02:00
Erich Barnstedt a0c243ebe3 Added application message dialog for .Net Forms and Console apps. 2016-07-15 09:46:42 +02:00
Erich Barnstedt 2901d8e5bb 1. Added definition of supported frameworks into project jason to get compiletime issues on missing classes.
2. Removed client cert validation from HTTPS client and server as this is not supported on all platforms, e.g. .Net4.6.
3. Reverted back to XmlDocument from XDocument as this is now supported via a NuGet package on UWP and XDocument is not supported on .Net4.6.
4. Baseline .Net4.6 samples and assoc. controls project check-in, not working yet.
5. Moved UWP client controls from SDK to Samples directly.
2016-07-10 23:27:41 +02:00