Closed zerob4wl closed 7 years ago
+up
@zerob4wl could you tell me your use case for this feature please? Why would setting custom secureProtocol
and cipher
values be useful for you?
Thanks, it will help me understand the issue and ensure we release something that covers everyone's needs.
The TLS has some version and some times you need to set it and force to use just a certain version. In my case, the client say the web server must use TLS v1.2 and one of certain Cipher.
These options have been implemented in local-web-server v2 (which is nearing completion). Please install the preview release:
$ npm install local-web-server@next
then run ws --help
to see the options, which include --ciphers
and --secure-protocol
.
Let me know if this solves your issue.
useful feature, thanks - I will look at this today.