create-test-server icon indicating copy to clipboard operation
create-test-server copied to clipboard

Consider allowing SSL server to be disabled.

Open wtgtybhertgeghgtwtg opened this issue 7 years ago • 4 comments

Generating certificates takes a bit of time. It's usually not that big of a deal, but it can add up for larger applications with a bunch of test suites. Would you be willing to accept a PR to add an option to disable the SSL server?

wtgtybhertgeghgtwtg avatar Jun 19 '18 04:06 wtgtybhertgeghgtwtg

Yeah, great idea.

lukechilds avatar Jun 19 '18 06:06 lukechilds

it will be great to optionally disable it, if you don't have openssl installed basically you can not use this module

b4dnewz avatar Jul 04 '19 17:07 b4dnewz

if you want I made a PR to have this feature, I've also added a test. I made this just because when I'm on windows and I don't have openssl installed or accessible on the global PATH the module is unusable.

By the way, really good project.

b4dnewz avatar Jul 04 '19 18:07 b4dnewz

If anyone still interested in this great server for tests, I made a fork that removes the SSL generation at all (with some other renewals) and published it on NPM. https://github.com/OSA413/create-test-server https://www.npmjs.com/package/@osa413/create-test-server

OSA413 avatar Sep 02 '23 10:09 OSA413