The configuration file for https can be found at this path for Ubuntu: /etc/apache2/sites-available/default-ssl.conf
Before the line with <VirtualHost, add a new line with
SSLCryptoDevice cs_pkcs11
For SSLCertificateKeyFile, replace the path to the private key with the path to the reference key.