ldabiralai/simulado

SSL support

Closed this issue · 2 comments

bdo commented

We would require this for our project as all our environments are currently running using https.

bdo commented

I'm actually thinking that if we could embed simulado in our app, that would be even simpler. Maybe by exposing the express app itself ?

Added in 900bf10...4795fa3 @bdo!

I think this is probably the cleanest solution as it means we don't have to expose the user to the express server. All they need to do is pass in the path to the key & cert and it should serve on https as desired.

Give it a go and let me know if anything's missing!