mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-16 00:05:53 +01:00
.. | ||
bin | ||
Win32/Debug | ||
GENERATE_CERTIFICATES.BAT | ||
MyControllerU.pas | ||
MyObjectsU.pas | ||
README.MD | ||
SSLSample.dpr | ||
SSLSample.dproj | ||
WebModuleUnit1.dfm | ||
WebModuleUnit1.pas |
DMVCFRAMEWORK SSL SAMPLE
In order to generate a valid self-signed certificate to use https, follow these instructions:
- Download openssl version compatibile with INDY components from
http://indy.fulgan.com/SSL/
- Take care of the bitness!
- Download a compatible version of Apache Httpd from
https://www.apachelounge.com/download/
- Unzip Apache into a folder (e.g.
C:\Tools\Apache
) - Open GENERATE_CERTIFICATES.BAT and change the APACHEPATH variable according with your apache path and Save it.
- Open a command prompt in samples\sslserver and run
GENERATE_CERTIFICATES.BAT
- Copy
libeay32.dll
andssleay32.dll
(from the openssl zip) into thesamples\sslserver\bin
folder - Run the DMVCFramework ssl sample
- Navitate to
https://localhost