You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Alan MacKinven <al...@gmail.com> on 2011/07/21 03:54:54 UTC

[users@httpd] Tomcat + Apache + Redmine + Subversion + SSL Certificates - please help the newbie

Hi there,

I have a Windows 2008 server which is running Tomcat to publish some web applications for us.

The sites published by Tomcat are using an SSL issued to our domain via Godaddy.com and are working fine.

I was recently asked to install Redmine with SVN repositories – so I have installed Apache + openSSL MSI, Ruby Rails, Redmine, and Subversion – all the required software components.

As it stands right now, it all works a treat – Redmine is being published no problem – insecurely.

What I am trying to do now and need some assistance, is how do I publish my Apache application (Redmine) using the certificate that is issued?

The Tomcat application is being published to : https://www.demo.com/Admin 
The Apache application is being published to: http://www.demo.com/redmine
The ssl is issued to www.demo.com 

I would like to have  Redmine published to https://www.demo.com/redmine

I have had a look at multiple walkthroughs (e.g. http://tud.at/programm/apache-ssl-win32-howto.php3 ) show me how to create “self signed” certificates no problem – however I am wanting to use an existing certificate – which is being used also by Tomcat.

If someone can show me what I need to do that would be awesome!

Installed:

Apache 2.2.19
SVN 1.6.17
OPENSSL 0.9.8r 8 Feb 2011
PHP 5.2.17 DAV/2
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
cgi_multipart_eof_fix (2.5.0)
gem_plugin (0.2.3)
i18n (0.4.2)
mongrel (1.1.5 x86-mingw32)
mongrel_service (0.3.4 i386-m
mysql (2.8.1 x86-mingw32)
rack (1.0.1)
rails (2.3.5)
rake (0.9.2)
rdoc (3.8)
rmagick (2.12.0 mswin32)
win32-service (0.5.2 mswin32)


Kind Regards,
Alan MacKinven

Re: [users@httpd] Tomcat + Apache + Redmine + Subversion + SSL Certificates - please help the newbie

Posted by Mark Montague <ma...@catseye.org>.
On July 20, 2011 21:54 , "Alan MacKinven" <al...@gmail.com> wrote:
> The sites published by Tomcat are using an SSL issued to our domain 
> via Godaddy.com and are working fine.
> I was recently asked to install Redmine with SVN repositories – so I 
> have installed Apache + openSSL MSI, Ruby Rails, Redmine, and 
> Subversion – all the required software components.
> As it stands right now, it all works a treat – Redmine is being 
> published no problem – insecurely.
> What I am trying to do now and need some assistance, is how do I 
> publish my Apache application (Redmine) using the certificate that is 
> issued?
> The Tomcat application is being published to : https://www.demo.com/Admin
> The Apache application is being published to: http://www.demo.com/redmine
> The ssl is issued to www.demo.com <http://www.demo.com>

You should have two VirtualHost contexts in your Apache HTTP Server 
configuration file(s), one for HTTP on port 80 and one for HTTPS on port 
443.  Both will be for www.demo.com.

Identify all of the Apache directives you added in order to get Redmine 
working through the HTTP virtual host.  Remove all of these directives 
from the HTTP virtual host context and add them to the HTTPS virtual 
host context.  The Redmine installation/configuration documentation 
should be useful in figuring out what directives to move.

Hopefully that will do the trick.

--
   Mark Montague
   mark@catseye.org