News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
PFX question - name and IP  
by Matthias Korn [illman at web dot de]
posted on 2004/05/06

Hi, I have a hard time getting a working server certificate(pfx) for my computer. The problem is I am not in any domain, so I supplied my computer's name to verisign. I built a server from the webserver example. Connecting to it via browser does not show an error if I use the computers name. However if I use the ip-address, it says names don't match. This is a problem for my selfbuilt client, who only eats IPEndpoint at the securesocket.connect().
So the question is: can one call connect with a computername instead of IPEndpoint OR is there a way to get a pfx for an IP-address?
Thanks in advance
Matthias

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2004/05/13

When you're creating the SecureSocket instance, make sure you set the SecurityOptions.CommonName property to the name of your computer. This should solve the problem.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.