delphimvcframework/samples/ssl
MPannier fe387256ed Delphi XE 3 compatibility (dproj - files are now XE3 files)
search path adjusted (demos work without global search path)
added project group for all demos that could be compiled with XE 3
2016-03-03 16:32:50 +01:00
..
Win32/Debug - ADDED SSL Sample 2014-03-03 13:45:55 +00:00
MyControllerU.pas - ADDED SSL Sample 2014-03-03 13:45:55 +00:00
MyObjectsU.pas - ADDED SSL Sample 2014-03-03 13:45:55 +00:00
OPENSSL CERTIFICATES BUT BE PLACED HERE - ADDED SSL Sample 2014-03-03 13:45:55 +00:00
README.TXT - ADDED SSL Sample 2014-03-03 13:45:55 +00:00
SSLSample.dpr Delphi XE 3 compatibility (dproj - files are now XE3 files) 2016-03-03 16:32:50 +01:00
SSLSample.dproj Delphi XE 3 compatibility (dproj - files are now XE3 files) 2016-03-03 16:32:50 +01:00
WebModuleUnit1.dfm - ADDED SSL Sample 2014-03-03 13:45:55 +00:00
WebModuleUnit1.pas - ADDED SSL Sample 2014-03-03 13:45:55 +00:00

In order to generate a valid self-signed certificate to use https, follow these instructions:

- Download openssl and executable compatibile with INDY components from http://indy.fulgan.com/SSL/
- Unzip into a folder (e.g. C:\OpenSLLINDY)
- Within the created folder, run the following command
openssl.exe genrsa -out privkey.pem
openssl.exe req -new -x509 -config .\openssl.cfg -key privkey.pem -out cacert.pem -days 1095
[WARNING! READ THE OPENSSL DOCUMENTATION TO UNDERSTAND AND MODIFY THESE PARAMETERS]

- Put the libeay32.dll and ssleay32.dll into the Windows PATH or in the same folder of your executable
- Run the DMVCFramework ssl sample