You need to set your certificate details as well: fServer.UseSSL := fUseSSL;
I just saved this info to wiki: https://wiki.freepascal.org/fphttpserver#Support_for_HTTPS
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal