Recent

Author Topic: THTTPApplication and SSL  (Read 1380 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2261
    • Lazarus and Free Pascal italian community
THTTPApplication and SSL
« on: March 22, 2020, 03:27:47 pm »
Hi guys I made a THTTPApplication program with active UseSSL. The program works, but I would like to set valid certificates for it. I can't tell the program which certificates to use. Seems like I can't parameterize this value. How can I do? Thank you
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

mr-highball

  • Full Member
  • ***
  • Posts: 233
    • Highball Github
Re: THTTPApplication and SSL
« Reply #1 on: March 22, 2020, 08:06:36 pm »
+1 for also wanting to know how to do this.

An alternative would be to put nginx configured to use a proper cert in front of your standard http server.

 

TinyPortal © 2005-2018