Login  
Search All Forums
Dart Home | PowerTCP SSL for ActiveX | Custom Development Reply | PowerTCP SSL for ActiveX Topics | Forums   
AuthorForum: PowerTCP SSL for ActiveX
Topic: Remote Certificate lost and data scrambled
BrendanM

From: Durban, South Africa
Posts: 80
Member Since: 07/11/02
posted July 2, 2016 7:59 AM

I am using DartSecure 2.1.0.1 to create a server and client app to send/receive data. Using 1 way SSL.

In the development environment I have no issues but in production (customer) there is a strange error. In the client app, the server's certificate is forced as valid in TCP_Authenticate since I get a ValidDate=False if the date is too far in the future. No problems with that and my data stream comes in fine from the server. But sometime later after connection (usually within 30-60 secs) the data is all scrambled and the TCP.RemoteCertificate suddenly goes to Nothing. The connection stays intact and is not dropped.

To sort out the scrambling all I have to do is send a single byte of data from the client back to the server. The TCP.RemoteCertificate still is Nothing but the data is at least intact. Then the problem happens again. No error events raised at either the client or server apps.

Its like the remote certificate has been revoked even though it was initially accepted by the client. I have created by own CA and issued a certificate on the server so I am sure there are no problems there. Windows 2008 R2 SP1 on the server does mention Verify and Build Chain policy warnings because the CA is not chained to a trusted root authority but I am not convinced that is the problem.

I see in the product release notes there was work done for SSl2 and SSL for Windows 8. Could that be related?
BrendanM

From: Durban, South Africa
Posts: 80
Member Since: 07/11/02
posted July 2, 2016 8:03 AM

Forgot to mention when the RemoteCertificate goes to Nothing then the TCP.Protocol goes from a 0 to a 5
BrendanM

From: Durban, South Africa
Posts: 80
Member Since: 07/11/02
posted July 4, 2016 6:23 AM

I just installed the trial SSL for ActiveX V2.1.5 Looks like its solved the problem so it must have been a bug in the older 2.1.0.1. So I will get hold of Jamie
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 376
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted July 5, 2016 5:13 PM

Thank you. I have replied to your email.

All the best,
Jamie
Reply | PowerTCP SSL for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX