HTTP Application problem lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- xinyiman · 2020-06-16 09:03 Hi everyone, in the past few days I have created a small test program to make fpweb work with the bootstrap framework. At present it manages a simple login and then displays some pages from a menu (not all features are implemented, precisely because it is a test). So far the utility works as I expect. But if I try to run it with UseSSL: = true then the broweser won't log me in because of the invalid certificate. How can I specify to the program where to go to get the certificate? My source: https://github.com/XinYiMan/LazIntranet_Test I am aware that I could turn the application into CGI and have the apache certificate used, but in my head this type of application should work on computers that do not have apache installed. To activate and deactivate SSL just play with the custom options. By removing or adding: -dActiveSSL ---------------------------------------------------------------------- nummer8 · 2020-06-16 15:41 Did you check this thread? https://forum.lazarus.freepascal.org/index.php?topic=29299.0 ---------------------------------------------------------------------- xinyiman · 2020-06-17 06:18 Yes, I had read that discussion. I can tell you that instead it supports https I don't understand just how to assign them a certificate. ---------------------------------------------------------------------- Leledumbo · 2020-06-21 07:12 If it's meant to run on local network, simply don't use the SSL. It's overkill. OTOH, if it's meant to run on a public machine, it must have proper web server capabilities anyway or the application will be exhausted soon because it handles all bad and good requests by itself. So the requirement of proper web server, if you don't like apache you can choose nginx, is unavoidable. You can learn from my experience or experience it yourself, it's your call.