delphimvcframework/samples/sslserver
2020-04-28 20:59:41 -03:00
..
Win32/Debug New Demos 2016-11-07 14:33:05 +01:00
GENERATE_CERTIFICATES.BAT Added JSON-RPC Notification Support 2018-05-16 19:46:35 +02:00
MyControllerU.pas Added JSON-RPC Notification Support 2018-05-16 19:46:35 +02:00
MyObjectsU.pas New Demos 2016-11-07 14:33:05 +01:00
README.MD Added JSON-RPC Notification Support 2018-05-16 19:46:35 +02:00
SSLSample.dpr Added JSON-RPC Notification Support 2018-05-16 19:46:35 +02:00
SSLSample.dproj All examples using static files have been updated to use TMVCStaticFilesMiddleware 2020-04-28 20:59:41 -03:00
WebModuleUnit1.dfm New Demos 2016-11-07 14:33:05 +01:00
WebModuleUnit1.pas New Demos 2016-11-07 14:33:05 +01:00

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 and ssleay32.dll (from the openssl zip) into the samples\sslserver\bin folder
  • Run the DMVCFramework ssl sample
  • Navitate to https://localhost