Hi,
I am almost 99% sure that sapgenpse does not support creating cert with alternative names. Hence I would try to generate cert using other tool such as OpenSSL (blog with examples). I am 100% sure that web dispatcher supports alternative names because one of my previous clients uses this. I can see in cert's section Extensions -> Certificate Subject Alt Names lines like
DNS Name: hostname1
DNS Name: hostname2
Cheers