I have lighttpd as web server and on it I have installed IP-based SSL certificates.

I want to have a way to have multiple SSL certificates on each new IP that the server may get.

For example, at the moment I have `https://127.0.0.1` and it works, but it certificate on which the CN = `127.0.0.1`, so if the webserver gets a new IP from the DHCP server, say `192.168.1.x`, the server will cause SSL mismatches.

Instead I need a new certificate exclusively for that IP address.

How can I create a multi-IP based SSL certificate? Of course on lighttpd.