| 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: How to determine which certificate to use? |
| adobe From: Jacksonvill, TN USA Posts: 6 Member Since: 06/22/09 |
posted June 29, 2009 4:51 PM This may be a pretty obvious question so sorry for my ignorance but how do you tell the connection which exact certificate you want to use. We have many clients and they will each have their own individual certificate. How am I going to know which one they are going to use? This needs to be done automatically, I don’t want them to have to select their certificate from a list (Currently, like in the TCPClient sample code). Is there going to be something that will always be common that I will be able to look for to know which certificate to use? I haven’t actually received my certificate yet, waiting on it to come to me from the IT department so I am not exactly sure what to expect here. |
| Jason Farrar (Admin) From: Oneida, NY USA Posts: 223 Member Since: 07/24/07 Extra Support Options Custom Application Development |
posted June 29, 2009 5:14 PM In the future could you please send in presales support questions by e-mail to support@dart.com? There are probably a few different things you could check. I assume that your company would be issuing the certificates, if that is the case then the IssuerName property should be the same for every certificate that is issued. On the client side you could loop through the certificate store and then use that. This probably wouldn't be reasonable if you were getting all your certificates from Thawte or another major certificate vendor. It also wouldn't be a good idea to use this property if your company issues many certificates for different purposes. You could also use the Name property. If multiple certificates are present from the same issuer then a unique name could be given to the certificate when it is created to identify it for your purposes. Another option is the Description property. Like in the name example this could be set when the certificate is created. The above are all suggestions and really depend on what options you have when the certificate is created. You should review the properties on the certificate object in the documentation under PowerTCP SSL Sockets for .NET->Reference->Dart.PowerTCP.SslSockets->Certificate Class->Properties and your example certificate when you receive it to see what makes the most sense. |
| adobe From: Jacksonvill, TN USA Posts: 6 Member Since: 06/22/09 |
posted June 30, 2009 7:50 AM Jason, This is exactly the information I needed to know. Thank you very much. I will see what my certificate says when I get it and go from there and will see who will be issueing the certificates to the clients. |
| Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|