delphimvcframework/samples/sslserver
2020-11-11 20:15:53 -03:00
..
bin TMVCEngine.Config property is now read-only. Can be changed only in the anonymous method injected in the constructor. (All the samples have been updated - from an idea of @Spinettato a.k.a. Danielino) 2020-05-11 23:39:43 +02: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 Updated SSLServer sample to make it compatible with INDY as released in Delphi 10.4. Sydney (https://stackoverflow.com/questions/62068537/delphi-indy-ssl-error-after-migrating-to-10-4-sydney) 2020-11-11 09:04:25 +01:00
SSLSample.dproj Samples changed to use TMVCRESTClient 2020-09-24 16:30:45 -03:00
WebModuleUnit1.dfm New Demos 2016-11-07 14:33:05 +01:00
WebModuleUnit1.pas TMVCEngine.Config property is now read-only. Can be changed only in the anonymous method injected in the constructor. (All the samples have been updated - from an idea of @Spinettato a.k.a. Danielino) 2020-05-11 23:39:43 +02: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