Results 1 to 7 of 7

Thread: Tomcat SSL Configuration

Hybrid View

  1. #1
    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 01:51 PM. Reason: Solved! It was zmtlsctl.

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

    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
    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
    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
    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
    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 01:50 PM. Reason: Moved the color tag to include the "both."

Similar Threads

  1. SSL certificate problem(?) Tomcat not working
    By akai in forum Installation
    Replies: 1
    Last Post: 07-02-2007, 03:43 PM
  2. Specific ssl error during tomcat startup
    By owcjimbo in forum Installation
    Replies: 2
    Last Post: 04-26-2007, 12:51 PM
  3. Replies: 2
    Last Post: 03-25-2007, 10:40 PM
  4. Help with tomcat ssl errors...
    By sgtstadanko in forum Administrators
    Replies: 4
    Last Post: 03-19-2007, 10: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
  •