Commit Graph

43 Commits

Author SHA1 Message Date
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 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 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 28e3e12cef make client tests configurable to use external GDS/push servers 2017-11-17 10:51:13 +01:00
Martin Regen beaab50040 lower API surface to netstandard1.3/net46 2017-10-24 14:01:43 +02:00
Martin Regen 0dce164b6c Improvements to GDS server (#224)
* project fix

* resolve a circular dependency with opc.ua.sample

* fix dependency on HeaderBranding

* Stack updates for GDS server, to handle app cert signing and crl creation for CA

* GDS server / client fixes.
Supports signing of certs, app registration/unregistration, cert revocation
Build fails until sql db files are manually created
2017-08-10 10:45:31 +02:00
Erich Barnstedt 61e7d0d01d Removing unneeded files. 2017-07-04 16:05:45 +02:00
Erich Barnstedt aaa53367f4 Merge pull request #185 from mregen/ctt_fixes_2017
CTT 1.3 certification updates
2017-07-04 11:12:57 +02:00
Erich Barnstedt cfd82bd704 Fixed HTTPS for .NetCore and disabled it for .Net due to an issue with LibUV (see https://github.com/aspnet/Hosting/issues/1115) 2017-07-03 16:42:16 +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 716f971630 Workaround for bug https://github.com/NuGet/Home/issues/4488. 2017-06-28 13:16:05 -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
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
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 a332f659e5 Adressed code review feedback. 2017-02-16 15:41:26 +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 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 29c5519dae - use latest generated and schema files from UA Nodeset (10/19/16) (https://github.com/OPCFoundation/UA-Nodeset)
- remove some yet unsupported functionality for GDS/Pubsub
2016-12-05 14:52:51 +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 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 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
Martin Regen 2f0d3095b8 simplify use of batch created certificates by supplying post build copy method where applicable 2016-09-01 12:40:42 +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 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 ab5366f08f Untangling output directory for .Net4 assemblies/programs to allow parallel builds without file access violations. 2016-08-07 15:04:36 +02:00
Erich Barnstedt bfecd8bc8b 1. Removed "TestPackage" from NuGet configuration.
2. Added generate cert script to project files.
3. Made "\\" platform independent, even for .Net4 samples (apart from GDS samples).
4. Fixed cert validation popups (yes/no was reversed!).
5. Got GDS server and client samples running (no connection yet).
6. Fixed configuration and popups in GDS client.
2016-08-05 10:58:51 +02:00
Erich Barnstedt b032652f62 Manually merge pull request #37 and expand to all samples. 2016-08-03 21:19:42 +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
Erich Barnstedt a0c243ebe3 Added application message dialog for .Net Forms and Console apps. 2016-07-15 09:46:42 +02:00
Erich Barnstedt 4b65c6649c Added missing binaries to .Net apps. 2016-07-12 12:45:11 +02:00
Erich Barnstedt 78fffac3f9 1. Turn off UAC as this is no longer required.
2. Fix path to certificate store.
3. Update to UWP 5.2.1 and AMQP.NetLite 1.2.
4. Small exception handlers cleanup.
2016-07-12 10:00:26 +02:00
Erich Barnstedt 2e0f4332ba 1. Got the .Net4.6 samples running (mainly getting rid of command line arguments, HTTP settings and WCF transport bindings and adding async calls).
2. Added certificate extension parsing back in (actual parsing code is still TODO as pInvoke is not an option).
2016-07-11 23:32:21 +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