Results 1 to 7 of 7

Thread: Tomcat SSL Configuration

  1. #1
    dana.merrick is offline Junior Member
    Join Date
    Jun 2006
    Location
    Bedford, MA
    Posts
    8
    Rep Power
    9

    Talking Tomcat SSL Configuration [SOLVED!]

    Hello Zimbra people.
    I got Zimbra up and running yesterday, complete with actual SSL certificates.\
    The server is on a separate IP address, outside of my company's firewall.
    I was wondering, how do I set up my httpd.conf so that I can do the following:

    I assume to do so I'd have some sort of virtual host in /opt/zimbra/conf/httpd.conf.
    Any ideas?
    -Dana
    Last edited by dana.merrick; 06-30-2006 at 12:51 PM. Reason: Solved! It was zmtlsctl.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,582
    Rep Power
    57

    Default

    Hi

    Welcome to the forums.

    Does this page point you in the right direction?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    dana.merrick is offline Junior Member
    Join Date
    Jun 2006
    Location
    Bedford, MA
    Posts
    8
    Rep Power
    9

    Red face

    Quote Originally Posted by phoenix
    Does this page point you in the right direction?
    Hi Bill.
    Not really. I'm not really concerned with having my Apache server do anything else, really. The httpd.conf example they use could help a little, but there they're trying to do something different.
    I figure my httpd.conf file should look something like this:
    (Where my Zimbra server name is "zimbra" and the network that my firewall protects is "network")
    Code:
    <VirtualHost *:80>
      ServerName zimbra.mydomain.com
      DocumentRoot /im/not/sure
      RewriteEngine on
      RewriteCond   [something that specifies != network]
      RewriteRule   ^/(.*)$   https://mail.mydomain.com/$1 [L,QSA] 
    </VirtualHost>
    Does that help you get a jumping off point?
    -Dana

  4. #4
    dana.merrick is offline Junior Member
    Join Date
    Jun 2006
    Location
    Bedford, MA
    Posts
    8
    Rep Power
    9

    Default Clarification

    I suppose I should clarify this by saying:
    I know how to edit the Apache configuration, but where does Zimbra put them and how can I properly restart it?
    Thanks in advance,
    -Dana

  5. #5
    dana.merrick is offline Junior Member
    Join Date
    Jun 2006
    Location
    Bedford, MA
    Posts
    8
    Rep Power
    9

    Default

    It seems I'm the only one posting here .
    Here is what I have so far:
    Code:
    NameVirtualHost *:80
    <VirtualHost *:80>
           ServerName zimbra.mydomain.com
    #     DocumentRoot /var/www/yourdomains_doc-root
       <IfModule mod_rewrite.c>
           RewriteEngine  on
           RewriteCond    %{REMOTE_HOST} !networkIP
           RewriteRule    https://zimbra.mydomain.com/$1 [L,QSA]
       </IfModule>
    </VirtualHost>
    It doesn't quite work. Any ideas?
    Thanks in advance,
    -Dana
    P.S. could the solution lay in the zmtlsctl command?

  6. #6
    dana.merrick is offline Junior Member
    Join Date
    Jun 2006
    Location
    Bedford, MA
    Posts
    8
    Rep Power
    9

    Thumbs up Solved!

    I got it!
    It really did lie in the zmtlsctl command.
    I used the above code with zmtlsctl both (NOT "mixed").
    That was all.
    -Dana
    Last edited by dana.merrick; 06-30-2006 at 12:50 PM. Reason: Moved the color tag to include the "both."

  7. #7
    bobby is offline Zimbra Employee
    Join Date
    Nov 2005
    Posts
    518
    Rep Power
    10

    Default

    until bug 5594 gets fixed, both == mixed. have a look at ~/bin/zmtlsctl

    Bug 5594 - TLS mode "both" causes redirection limit problem
    http://bugzilla.zimbra.com/show_bug.cgi?id=5594


    regardless, i think you've got things set up

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SSL certificate problem(?) Tomcat not working
    By akai in forum Installation
    Replies: 1
    Last Post: 07-02-2007, 02:43 PM
  2. Specific ssl error during tomcat startup
    By owcjimbo in forum Installation
    Replies: 2
    Last Post: 04-26-2007, 11:51 AM
  3. Replies: 2
    Last Post: 03-25-2007, 09:40 PM
  4. Help with tomcat ssl errors...
    By sgtstadanko in forum Administrators
    Replies: 4
    Last Post: 03-19-2007, 09:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •