Closed shynome closed 7 years ago
Hi @shynome , wow I just got the email that this was closed, but somehow missed when it was opened. The two solutions to your issue are:
I hope this helps!
As for the proposed idea, I'm not sure if that's possible to directly implement in this module, but if you have an idea for how to go about implementing it, always feel free to open a pull request with an implementation or even a written proposal if you're not sure where to start :) !
Hi @shynome , I know this is closed issue, but I think using tlsSever.addContext()
will allow you to configure SNI easily (another way is to use SNICallback
). I also quickly implemented a minimal module vhttps that combines virtual host and SNI (although not strictly same as vhost
's usage)
how to set ssl cert for each hostname
just like this :
Can this be realized?
if you visit
https://a.lo.shynome.com/
, Google Chrome will tip u it's unsafethis is code https://github.com/shynome/vhost-test