Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: Wildcard SSL Certificates
iancurtis

From: United Kingdom
Posts: 5
Member Since: 02/18/16
posted April 20, 2016 9:01 AM

Hi,

We have a client-server implementation using Dart Sockets with a server SSL certificate. This has all been working as expected with the server presenting the configured certificate, the client accepting it, and the secure connection being established.

However, for our production environment we have a wildcard certificate (e.g. *.ourdomain.com). The client connects to the server via tcp.ourdomain.com. We have tried setting the TCPModel.Security.TargetHost property to 'tcp.ourdomain.com' and '*.ourdomain.com' but the client always throws a RemoteCertificateNameMismatch exception.

Can you tell me if wildcard SSL certificates are permitted, and if so how I should be setting the security properties of the client TCPModel.

Many thanks,
Ian.
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted April 20, 2016 11:07 AM

Hello,

We use the .NET Framework for our SSL implementation; I don't see any MSDN documentation one way or the other on this (SslStream.AuthenticateAsClient(targetHost...)). You can override certificate validation in the remote certificate validation callback, as outlined here:

http://www.dart.com/help/ptsknet/webframe.html#Security%20Implementation.html

to manually implement wildcard domain matching.

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX