knopkem / dicomweb-pacs

Easy to use DICOMWEB enabled PACS with DIMSE services based on sqlite database
Other
101 stars 38 forks source link

SSL #74

Closed jinftw64 closed 9 months ago

jinftw64 commented 9 months ago

Hi @knopkem ,

Thank you for working on this project and sharing it with us.

How would you implement SSL on the webserver?

Thank you,

Jin

knopkem commented 9 months ago

Hi, I would not try to enable ssl on the fastify (nodejs) server itself as this is not what it is intended for. I would use a proxy (haproxy or ngnix) that performs the ssl verification (and termination) and forwards to your internal node server (via http). Also see https://fastify.dev/docs/latest/Guides/Recommendations/ Cheers