Commit Graph

35 Commits

Author SHA1 Message Date
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 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 8b8c2f034f URI should contain hostname not localhost 2016-11-11 10:02:07 +01:00
Martin Regen b8b818e1ef fix the cr feedback
- missing " in CreateCert batches
- NET46 dependency removed
- all TODO removed
2016-11-09 11:51:14 +01:00
Martin Regen 44b8fa50e9 default to 2048bit public keys in certs 2016-11-03 10:53:13 +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 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 70137cd963 Added CertificateGenerator.exe for creating certs with scripts for all samples. 2016-07-31 11:14:32 +02:00
Martin Regen 19e9018031 fix typo in createcert script 2016-07-27 07:38:28 +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 a26291663f OpenSSL scripts to create certs for client and server samples. 2016-07-26 00:18:50 +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
Martin Regen b181ac103c clean up project.json ref 2016-07-20 07:15:51 +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 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 26e323d1de Fixed hard-coded path seperators.
More TODO cleanup.
2016-06-21 16:57:11 +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
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