SSLPassPhraseDialog cannot occur within <VirtualHost> section

Hi,

Using Virtualmin -> Services -> Configure Website for SSL, in SSL Options: choosing Fixed password, and the virtual host conf then contains

...
SSLEngine on
SSLCertificateFile /home/server/ssl.cert
SSLCertificateKeyFile /home/server/ssl.key
SSLPassPhraseDialog exec:/etc/apache2/passphrase.12092543.sh

But apache2 fails to start with this message:

SSLPassPhraseDialog cannot occur within section

If I move the SSLPassPhraseDialog out of the VirtualHost scope like this, it works:

SSLPassPhraseDialog exec:/etc/apache2/passphrase.12092543.sh

Is that how it is supposed to be?
Thanks,
Curt Grimley

Status: 
Closed (fixed)