moscajs / mosca

MQTT broker as a module
mosca.io
3.2k stars 509 forks source link

Added the possibility to add a key and cert as text instead as file #560

Closed JacoKoster closed 6 years ago

JacoKoster commented 7 years ago

This makes it easier to use in an docker-application that uses environment variables to supply the key and cert

I also added a few semicolons in other places, otherwise i couldn't commit Added the multistr-exception for the unit-test, otherwise testing certificates in plain text is basically undoable :-(

JacoKoster commented 7 years ago

Too bad that we need to keep the options a non-breaking change, otherwise this could have been very clean :-P

Now only the options are messy...

JacoKoster commented 7 years ago

Renaming 2 unit-tests should not have broken the build, right? :-/

mcollina commented 7 years ago

No, MongoDB is sometimes flaky. There are too many daemons that runs in the CI environment.