Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-22-2008, 05:12 PM
Outstanding Member
 
Posts: 684
Default [SOLVED] Certificate install in IE after upgrade 5.0.4 > 5.0.5

After upgrading to 5.0.5, my certificate will no longer install in IE's certificate store. It says the issuer is Zimbra Collaboration Suite. In the past, I believe the Issuer was the web site itself. I did mot have this problem with 5.0.2 or 5.0.4.
Reply With Quote
  #2 (permalink)  
Old 04-22-2008, 08:29 PM
Outstanding Member
 
Posts: 684
Default

Every account I host now where the user uses Internet Explorer can no longer Install the certificate. Before, installing it once into the trusted root store would stop the certificate error message when the site was accessed. Now the certificate won't install in the trusted root store and if you install it in any other store, IE say there is not enough info to verify the certificate.

This is the case with both of my servers after upgrading to 5.0.5.

I guess the next step is to try and create another certificate where the issuer and the issued to are both the mail server FQDN. This is the way all previous version of Zimbra created certificates until 5.0.5.
Reply With Quote
  #3 (permalink)  
Old 04-23-2008, 09:02 AM
Outstanding Member
 
Posts: 684
Default

It appears Zimbra has changed or limited the scope of the certificate and this is why IE will not install it into the root store any more.

Is this the case? Am I wasting my breath here?
Reply With Quote
  #4 (permalink)  
Old 04-23-2008, 03:45 PM
Zimbra Employee
 
Posts: 601
Default

First of all, upgrades should preserve all certs as long as they are not expired. So if the cert was regenerated during upgrade between 5.0.4 and 5.0.5 that would be considered a bug unless you manually regenerated the cert.

The second part of this is that nothing changed with the scope in zmssl.cnf between 5.0.4 and 5.0.5, so the certs should be created and signed in the same fashion with the same settings. Can you paste the exact IE error you are seeing as well as the output of

sudo /opt/zimbra/bin/zmcertmgr viewdeployedcrt

thanks
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #5 (permalink)  
Old 04-23-2008, 05:09 PM
Outstanding Member
 
Posts: 684
Default

When I get back to the office tomorrow I will post the output you asked for.

I can tell you that the issuer is Zimbra on the one that worked and Zimbra collaboration Suite on the one that is showing up now.

There is no error message from IE. The certificate simply won't show up in the root store after I install it. If I install it to any other store it tells me "The issuer of this certificate could not be found." Of course that is because when I install it to the root store it says it is installed but doesn't show up.

I run two Zimbra stand alone servers and this is the case when accessing either server - after the upgrade but not before. Since the certificate from 5.0.4 was installed and worked, I know the certificate had to change because IE only started warning after the upgrade.

I have always simply installed the cert into the root store and IE would then go to the site without warning again. This has been the case since version 4.x.x.
Reply With Quote
  #6 (permalink)  
Old 04-24-2008, 05:24 AM
Outstanding Member
 
Posts: 684
Default

First off, thank you for replying Brian.

I plan on installing an earlier version of ZCS on my test box, pull a certificate, then upgrade to 5.0.5 and pull another certificate. I will send you both plus the output from the command you ask me to run.

There is definitely different fields in the two versions of certs plus different parameters in like fields. This is the first time in years of installing certs into IE that I've had one that wouldn't show up in the root store after specifically being installed there. Firefox has no problem. But then it doesn't force you to have a cert from the issuer in the root store either to consider the certificate valid.

If it were up to me I would just quit using IE but some of my hosted user do not share my feelings. :-)
Reply With Quote
  #7 (permalink)  
Old 04-24-2008, 02:37 PM
Outstanding Member
 
Posts: 684
Default

lin2nowork.txt
lin2works.txt

These need to be renamed to .cer. But lin2work is from 4.5.11. Lin2nowork is after upgrade to 5.0.5. Lin2work will import into IE's root store, Lin2nowork will not.

You can see the content of the cert's are different. The issuer and the subject are identical on the one that works. Of coures a self signed cert should be so. The one that doesn't work has the issuer and subject being somewhat different. They need to be identical for a self signed cert to be proper.

How can I change the zmssl.cnf file to make both identical?

I think this is a bug but would like your opinion.
Reply With Quote
  #8 (permalink)  
Old 04-24-2008, 10:04 PM
Zimbra Employee
 
Posts: 601
Default

Well going from 4.5.x to 5.0.5 the certs could definitely be different. Starting in 5.0.5 we loosened the restrictions on cert signing in zmssl.cnf.

If IE is requiring a valid cert path you have 2 choices. You can create the cert with the same subject as the CA. Using the Admin Console Certificate extension or via cli zmcertmgr or you can import the public cert from the CA as well as the cert.

To create a cert with a matching subject use:

zmcertmgr createcrt -new -days 365 -subject "SUBJECT"

where subject fields match those of the self CA.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #9 (permalink)  
Old 04-24-2008, 10:57 PM
Outstanding Member
 
Posts: 684
Default

I tried that. There is a "Location" object in the "Issuer" field that is not in the subject field. It's impossible to make them identical. I guess I have to figure out where that is happening in the zmssl.cnf file.

Bottom line is the cert generated by the Zimbra install won't go to the root store in IE.
Reply With Quote
  #10 (permalink)  
Old 04-26-2008, 07:53 AM
Outstanding Member
 
Posts: 684
Default

OK. Guess I'm on my own on this one.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.