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
 
Simple SSL socket (not https)  
by charan
posted on 2005/03/09

Any idea why I would get the following exception when connecting to SSL server? It is not a HTTPS. Does Mentalis library support simple SSL on a non HTTP server?

Org.Mentalis.Security.SecurityException: An error occurs while communicating with the remote host. ---> Org.Mentalis.Security.Ssl.Shared.SslException: The server hello message uses a protocol that was not recognized.

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2005/03/25

You get this error when you try to connect with a SecureSocket on a plaintext server. Try connecting on port 443 (the https port) instead of port 80.

 

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