My suggestion is to add support not only for ECC certificates but also for RSA, for example using an environment variable to switch between ECC and RSA.
It would also be good to add the ability to change the port and protocol through the environment variable.