I did a test on a clean virtual machine again by following INSTALL_DEBIAN_4.0.txt
I found out what I did wrong. In the ssl tab there are the following 5 fields:
In my first setup I left Organisation Unit empty so no certificate got created. So the ISPConfig code is working, no modification needed. Maybe its possible to mark necessary field somehow, but that would be just an optical change.
But even the vhost for ssl ist now created, I had to enable apache to listen on port 443. This wasn't done by the script.
Ohh... I found an typo in the certificate email: email@example.com
I'm sorry if I confused someone. Great work so far!