10-07-2019, 11:31 AM
Hi. I would like to ask you to try to use http.sys as it is version 15. I reinforce that it does NOT need IIS and you use the certificate installed on windows. Much simpler to use and much more control. To convert the certificate to PFX (you can get free certificates from let's encrypt):
To convert you project, open dpr and change:
In your ServerController, verify:
And i suggest you use URLBase, something like this: /gerencial/
To use Http.sys application with SSL without IIS, see this post.
Code:
openssl pkcs12 -export -out certificate_out.pfx -inkey private.key -in certificate.crt
Code:
IWStart -> IWStartHSys
and
TIWStart.Execute( True ); -> TIWStartHSys.Execute( True );
Code:
SSLOptions->NonSSLRequest := nsRedirect
SSLOptions->Port := 443
To use Http.sys application with SSL without IIS, see this post.