Http.swift icon indicating copy to clipboard operation
Http.swift copied to clipboard

How to SSL?

Open BartSar opened this issue 2 years ago • 1 comments

How can we start HTTPS server?

BartSar avatar Nov 07 '22 08:11 BartSar

Good question. You can check test files for that. Basically you'll need to create server with certifiatePath which should be tuple with a path too psx file and a password.

server.run(port: 4443, certifiatePath: certPath)

OrkhanAlikhanov avatar Nov 07 '22 14:11 OrkhanAlikhanov