delphimvcframework/samples/sslserver/GENERATE_CERTIFICATES.BAT
Daniele Teti 34bc5e0638 Added JSON-RPC Notification Support
Added IMVCJSONRPCExecutor for a simpler use of JSON-RPC servers
2018-05-16 19:46:35 +02:00

13 lines
422 B
Batchfile

@echo off
set APACHEPATH=D:\Tools\Apache24
IF EXIST %APACHEPATH% (
echo Using Apache at path %APACHEPATH%
%APACHEPATH%\bin\openssl genrsa -out privkey.pem 4096
%APACHEPATH%\bin\openssl.exe req -new -x509 -config %APACHEPATH%\conf\openssl.cnf -key privkey.pem -out cacert.pem -days 1095
) ELSE (
echo Please set APACHEPATH to a valid Apache httpd distribution (download it from https://www.apachelounge.com/download/)
)