There is a chicken and egg problem here: the server needs to decrypt the request to know which certificate to use - to decrypt the request ;)

There is SNI which is designed to solve this - but I am not sure how that is implemented in node. Without this, you need to have a one to one mapping of port to certificate (this is the same issue every web server faces - hopefully SNI support will become the norm one day).