Commit Graph

74 Commits

Author SHA1 Message Date
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 029c942a17 clean up the cleanup timer... 2016-09-19 14:13:33 +02:00
Erich Barnstedt 9cfd122255 Merge pull request #63 from mregen/buffermanager2
BufferManager fixes:
2016-09-14 14:09:32 +02:00
Erich Barnstedt 443c918d67 Merge pull request #60 from mregen/crl
Implement CRL support with Bouncy Castle. Tested with issuer certs fr…
2016-09-14 14:05:36 +02:00
Martin Regen 68ed5c07d5 cr feedback. keep set methods, but private. catch the bc exception and respect the throwOnError parameter. 2016-09-14 12:55:41 +02:00
Martin Regen aa4225a5e4 BufferManager fixes:
i)single buffers were never returned
ii)ProcessCloseSecureChannelRequest duplicates call to ReturnBuffer and hit exception
2016-09-14 12:34:56 +02: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
Erich Barnstedt 5d565637dd Changes required for running UA applications on ASP.Net in the cloud. 2016-09-13 10:08:31 +02:00
Martin Regen 17d04a3399 fix a duplicate ReturnBuffer call, improve the BufferManager tracing. 2016-09-09 15:17:26 +02:00
Martin Regen 050b8add33 Supress the ServiceResultException during graceful shutdown of the TCP channel, as we don't expect an answer from the server. 2016-09-07 17:42:17 +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 771fc5809a fix exception during teardown of tcp listener 2016-09-01 12:38:49 +02:00
Erich Barnstedt 5966fa7dc0 Fix trace file configuration. 2016-08-19 10:05:05 +02:00
Erich Barnstedt 32dfd746d2 Fixed a misleading exception in BufferManager and increased a timeout to make debugging easier. Also removed some dead code. 2016-08-18 17:06:53 +02:00
Recep Karabıçak b4c5f65286 set maximum buffer size properly when constructing a BufferManger
TakeBuffer method of the BufferManager before forwarding the call to the internal BufferManager increases the expected size
this causes it to be bigger than the maximum configured buffer size. At construction internal BufferManager should be configured properly.
2016-08-18 09:43:06 +03:00
Erich Barnstedt d9b688f527 Added 2 clone methods. 2016-08-08 23:33:30 +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 1adbef4819 Small fix to enable UserNameIdentityToken parsing. 2016-08-04 15:55:45 +02:00
Erich Barnstedt 4a0bc1429c Merge pull request #43 from mregen/standard
Got GDS compiling.
2016-08-04 06:18:36 -07:00
Erich Barnstedt f85f88d3b2 Got GDS compiling. 2016-08-04 15:08:56 +02:00
Erich Barnstedt 0c676ff278 Merge pull request #41 from mregen/standard
Got GDS common lib compiling.
2016-08-03 14:13:51 -07:00
Erich Barnstedt 95e17e632b Got GDS common lib compiling. 2016-08-03 23:10:24 +02:00
Erich Barnstedt 91aaf09409 Small project file fix. 2016-08-03 22:25:53 +02:00
Erich Barnstedt 2d3679e5f2 Manual merge of pull request #39. 2016-08-03 21:54:54 +02:00
Erich Barnstedt 33ccae2e4e 1. Fixed spelling mistake in GetApplicationUriFromCertificate().
2. Removed "netcoreapp1.0" from project.json as it is not required.
3. Updated generated OPC type classes with latest definitions.
4. Added session-less request validation.
5.Added small helper method in certificate store ID class.
6. Added OAuth2 credentials.
7. Brought original user identities back in (username, cert, certIDs) and added JWTs.
2016-08-03 17:35:10 +02:00
Erich Barnstedt f088a5425c Got NuGet packages working for UWP: Needed to change the way the Kestrel HTTPS server is omitted for UWP, where it is not supported. 2016-08-01 12:29:20 +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 c791a7b040 Fix release build config and small warning fix in AuthorityKeyIdentifierExtension. 2016-07-31 10:55:03 +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 341517adf6 Improve object usage in connect 2016-07-23 09:55:17 +02:00
Martin Regen 5733d9c77b change connect strategy to support linux devices 2016-07-22 19:39:34 +02:00
Erich Barnstedt 0d200a167c Merge pull request #30 from mregen/standard
Added X509CRLs back in.
2016-07-20 08:51:11 -07:00
Erich Barnstedt 9b7b609304 Added X509CRLs back in. 2016-07-20 08:48:46 -07:00
Martin Regen 7aa97b7e4e TODO: Parse SubjectAltName 2016-07-20 16:26:31 +02:00
Erich Barnstedt 514e607cc0 Merge pull request #26 from mregen/linux_projects2
Console app fixes for Linux
2016-07-20 03:49:08 -07:00
Erich Barnstedt 3d6c4de2cd Merge pull request #23 from mregen/ParseKey
Parse authority key and serial number from cert.
2016-07-20 05:26:21 -04: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
Martin Regen 075db81bd0 Parse authority key and serial number from cert. 2016-07-19 15:57:37 +02:00
Erich Barnstedt ba0b3e4dcb Enabled TLS1.1 & 1.2. 2016-07-15 12:07:57 +02:00
Erich Barnstedt c2a180c3d2 Small TODO cleanup. 2016-07-14 16:40:16 +02:00
Erich Barnstedt 8910582c4c Small TODO cleanup. 2016-07-14 16:30:48 +02:00
Erich Barnstedt e91b0ca400 1. Added OPC Publisher certs.
2. Fixed application extensions de-serialization.
2016-07-12 12:01:06 +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
Erich Barnstedt ceea26cc33 Re-enabled TLS (it was a .Net sample client issue). 2016-07-08 17:38:59 +02:00
Erich Barnstedt 9663b2742c 1. Disabled HTTPS Server for UWP apps (HTTPS server not supported on UWP)
2. Disabled TLS for now (not working yet).
2016-07-08 16:46:24 +02:00
Erich Barnstedt 1ae170700c 1. Got HTTP listener (based on Kestrel) working.
2. Code cleanup in listeners for unused functions.
3. Enabled TLS security (but there is still an issue with the .Net Client)
2016-07-06 11:05:48 +02:00
Erich Barnstedt 56f021cf9e Initial http listener/server implementation using .NetCore's Kestrel implemantation. Doesn't support UWP yet due to dependencies which are missing from UWP. 2016-07-06 00:30:00 +02:00
Erich Barnstedt aafbc16bd8 1. Removed <TransportConfigurations> from app config XML files as this is no longer in use.
2. Removed last view mentions of HTTP transport (only HTTPS is supported).
3. Fixed bug in CreateHttpsServiceHost() where the worst security settings was selected, instead of the best.
4. Implemented BeginSendRequest() is HTTPS transport as this is used for "keep alive" messages.
2016-07-05 19:22:59 +02:00