delphimvcframework/samples/sslserver
2017-07-14 18:23:00 +02:00
..
Win32/Debug New Demos 2016-11-07 14:33:05 +01:00
MyControllerU.pas New Demos 2016-11-07 14:33:05 +01:00
MyObjectsU.pas New Demos 2016-11-07 14:33:05 +01:00
OPENSSL CERTIFICATES BUT BE PLACED HERE New Demos 2016-11-07 14:33:05 +01:00
README.TXT New Demos 2016-11-07 14:33:05 +01:00
SSLSample.dpr ADDED restored LoginURL parameter in the JWT Middleware to customize the login end-point for JWT 2017-07-14 18:23:00 +02:00
SSLSample.dproj ADDED restored LoginURL parameter in the JWT Middleware to customize the login end-point for JWT 2017-07-14 18:23:00 +02: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

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