Q:

Installing SSL certificate for Application hosted on Virtualised Windows IIS

I am currently running Ubuntu 14.04 that has WebMin installed and running Apache. I am also running Virt Manager to have a virtualised Windows Server. 
I am wanting to setup an SSL certificate for an application that is running within IIS on the virtualised Windows Server.
I'm not sure where exactly I should be installing an SSL certificate, on the Linux Server or within IIS. Can someone please help point me in the right direction as to where I should be setting up the configuration for this?

A:

Found the solution to this. The SSL certificate is installed on the Apache server. I personally stored the cert and key file within the /etc/apache2/ folder within a folder I made called /ssl/. The way I did this was using the following VirtualHost setup:
<VirtualHost your-website.com:443>
    ProxyPreserveHost On
    SSLEngine On
    SSLCertificateFile /etc/apache2/ssl/certificate.crt
    SSLCertificateKeyFile /etc/apache2/ssl/certificate.key
    ProxyPass / http://your-internal-ip-address-for-windows/
    ProxyPassReverse / http://your-internal-ip-address-for-windows/
    ServerName your-website.com
</VirtualHost>

Then I created a re-direct VirtualHost so that it would always route through to HTTPS:
<VirtualHost your-website.com:80>
    Redirect permanent / https://your-website.com
    ServerName your-website.com
</VirtualHost>

