|Dart Home | PowerTCP Sockets for .NET | Custom Development||Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums|
|Author||Forum: PowerTCP Sockets for .NET (Secure and Standard)|
Topic: Wildcard SSL Certificates
From: United Kingdom
Member Since: 02/18/16
|posted April 20, 2016 9:01 AM
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.
|Nick B (Admin)
From: Utica, NY USA
Member Since: 05/25/10
Extra Support Options
Custom Application Development
|posted April 20, 2016 11:07 AM
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:
to manually implement wildcard domain matching.
|Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums|
|This site is powered by PowerTCP WebServer for ActiveX|