Two VMs: Ubuntu+Apache, Win2008+Subsonic. How to do SSL?
So far, subsonic works and I have proxypass configured in apache so all I have to do is go to myserver.net/music and I get subsonic.
Here's my relevant configuration.
Subsonic is configured to have /music as the root. Also, my router directs port 8181 to the windows VM (with subsonic) and port 80 and 443 to the ubuntu VM (with apache).
My question is, how do I enable SSL? Is there something I have to do on the windows VM to subsonic? Or will the same work inside of the VirtualHost for ssl in apache? What I mean is, if I just add the following to the ssl conf file, will it work --
Or do I need to do something different? (I have a feeling from what I've already read that this is missing something.)
I've searched the forums, and nobody has a clear answer to this. The only responses I've seen are, go search google, or go read this about apache and ssl. I already have a certificate installed and working for other parts of my website on the ubuntu VM, I just need to know how to connect apache and subsonic so that it works with ssl. And yes, I am continuing to search and read on the topic.
If anyone could provide the specific lines I would need to change in my ssl conf file, that would be awesome, or even an already existing guide for this specific purpose that I haven't yet found. I'd be more than happy to do a write up once I have a solution.
Here's my relevant configuration.
- Code: Select all
<VirtualHost *:80>
...
ProxyPass /music http://myserver.net:8181/music
ProxyPassReverse /music http://myserver.net:8181/music
<Location /music>
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Order deny,allow
Allow from all
</Location>
...
</VirtualHost>
Subsonic is configured to have /music as the root. Also, my router directs port 8181 to the windows VM (with subsonic) and port 80 and 443 to the ubuntu VM (with apache).
My question is, how do I enable SSL? Is there something I have to do on the windows VM to subsonic? Or will the same work inside of the VirtualHost for ssl in apache? What I mean is, if I just add the following to the ssl conf file, will it work --
- Code: Select all
<VirtualHost *:443>
...
ProxyPass /music http://myserver.net:8181/music
ProxyPassReverse /music http://myserver.net:8181/music
<Location /music>
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Order deny,allow
Allow from all
</Location>
...
</VirtualHost>
Or do I need to do something different? (I have a feeling from what I've already read that this is missing something.)
I've searched the forums, and nobody has a clear answer to this. The only responses I've seen are, go search google, or go read this about apache and ssl. I already have a certificate installed and working for other parts of my website on the ubuntu VM, I just need to know how to connect apache and subsonic so that it works with ssl. And yes, I am continuing to search and read on the topic.
If anyone could provide the specific lines I would need to change in my ssl conf file, that would be awesome, or even an already existing guide for this specific purpose that I haven't yet found. I'd be more than happy to do a write up once I have a solution.