01-19-2019, 11:37 PM
Hi there. It became time to acquire a SSL certificate and then get my standalone httpsys application secured. I looked into the demo that is provided on-line but that bombs with cannot find library or similar message. I think this is from the 32 bit dll's being missing (libeay32 and ssleay32).
My application is 64 bit so I have the 64 bit versions of the above dll's in the same folder as my exe. I also have the 3 certificate files in PEM format (key, cert and root) in the same folder. My certificate is issued from https://www.digicert.com and is a RapidSSL certificate.
For my server controller, I mimicked the demo but have a blank password since apparently my files are not password protected. SSLVersion is TLSv12 but I also tried SSLv3. Port is 443 and non SSL is set to redirect so always in SSL. SSL versions are all set to false like the demo.
My form is set to connection mode secure and I have the code "WebApplication.SwitchToSecure;" in the create form event for the main form of the application.
The app installs as a server just fine and starts. When I try to load the site in SSL in firefox it reports an error:
Secure Connection Failed
The connection to the server was reset while the page was loading.
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.
From what I have read the system is rather automatic and just looks for the 3 certificate files and then uses the DLL's to load SSL. I must be missing something simple here. The only thing I can think of is my certificates have no header in them namely the bag information that I see in the demo equivalent files.
Any assistance would be welcome.
Cheers.
My application is 64 bit so I have the 64 bit versions of the above dll's in the same folder as my exe. I also have the 3 certificate files in PEM format (key, cert and root) in the same folder. My certificate is issued from https://www.digicert.com and is a RapidSSL certificate.
For my server controller, I mimicked the demo but have a blank password since apparently my files are not password protected. SSLVersion is TLSv12 but I also tried SSLv3. Port is 443 and non SSL is set to redirect so always in SSL. SSL versions are all set to false like the demo.
My form is set to connection mode secure and I have the code "WebApplication.SwitchToSecure;" in the create form event for the main form of the application.
The app installs as a server just fine and starts. When I try to load the site in SSL in firefox it reports an error:
Secure Connection Failed
The connection to the server was reset while the page was loading.
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.
From what I have read the system is rather automatic and just looks for the 3 certificate files and then uses the DLL's to load SSL. I must be missing something simple here. The only thing I can think of is my certificates have no header in them namely the bag information that I see in the demo equivalent files.
Any assistance would be welcome.
Cheers.