Commit Graph

43 Commits

Author SHA1 Message Date
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
Erich Barnstedt b854dfc064 Removed invalid runtimes from .NetCore apps projects.
Rolled back to 1.18 of AMQP.NetLite assembly due to an incompatibility with UWP.
2016-07-01 23:36:18 +02:00
Erich Barnstedt ce9b34bea7 Fixed 2 path seperators.
Added missing runtimes definitions.
Removed unneeded platform definitions.
Removed unneeded dependent assemblies.
Re-enabled cert chain checks.
Got the HTTPS client working.
2016-07-01 17:44:06 +02:00
Erich Barnstedt 133264e075 Second half on check-in. 2016-06-29 12:50:05 +02:00
Erich Barnstedt 36377d038d 1. Removed dependency on Microsoft.Extensions.PlatformAbstractions (not supported on UWP).
2. Added certs to source control for .Net Core apps.
3. Added default constructors now required for deserialization.
2016-06-29 12:49:25 +02:00
Erich Barnstedt 1ac35fdec0 .Net Core 1.0 Release Upgrade (VS2015 Update3 is now required!):
1. Upgraded from UWP 5.1.0 to 5.2.0
2. Upgraded all assemblies from RC to RTM bits
3. Renamed Common directory to Opc.Ua.Sample
4. Reimplemented HTTP transport due to removed classes in .Net Standard
5. Small UWP XML class cleanup due to changes in UWP 5.2.0
2016-06-29 10:09:34 +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 cffa84e289 Fixed project.json files. 2016-06-21 15:21:59 +02:00
Erich Barnstedt 738ae1545a Added Console Server sample project.
Added Sample project (needed for server).
Fixed copyright info.
Fixed all "easy" TODOs (or removed if not applicable anymore).
Removed HTTP transport settings (HTTP not supported anymore, only HTTPS).
Added option to load embedded resources from app directory as embedded resources not supported in .Net Standard.
2016-06-21 14:51:06 +02:00