fphttpapp doesn't work with password protected certificate's private key

Summary

fphttpapp web server doesn't work when certificate's private key is password protected.

System Information

  • Operating system: Windows, Linux (forum user PierceNg)
  • Processor architecture: x86, x86-64
  • Compiler version: 3.2.2, 3.3.1-14089-ga2344139
  • Device: Computer

Steps to reproduce

Start compiled program (which listens on port 443). When access from browser, browser returns PR_CONNECT_ABORTED_ERROR (Firefox) or ERR_CONNECTION_RESET (Edge and Chrome). With FPC 3.3.1-14089-ga2344139 error is printed and application terminates: Exception at 0000000100019FDE: ESSL: Failed to initialize SSL keys.

Synapse version works with same certificates.

Forum discussion

Example Project

test_cert.zip

Assignee Loading
Time tracking Loading