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

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 Display Modes
  #1 (permalink)  
Old 05-14-2009, 08:46 AM
Senior Member
 
Posts: 62
Question [SOLVED] remove ssl cert passphrase

I installed a new commercially signed ssl cert this morning and that's ok but when I created the cert I set a passphrase not knowing any better!

Now when I restart zimbra with zmcontrol I get prompted with starting ldap enter passphrase and I have to enter the phrase.

How do I remove this?

This is how I installed the cert if anyone is interested. After lots of forum searching I got it working with this.

cd /root/tmp
[root@mail tmp]$ vi commercial.crt (copy your server cert here)
[root@mail tmp]$ vi ca.crt (copy the Root CA Cert here)
[root@mail tmp]$ vi /opt/zimbra/ssl/zimbra/commercial/commercial.key (copy your private key here)

[root@mail tmp]$ /opt/zimbra/bin/zmcertmgr verifycrt comm /opt/zimbra/ssl/zimbra/commercial/commercial.key /root/tmp/commercial.crt

[root@mail tmp]$ /opt/zimbra/bin/zmcertmgr deploycrt comm /root/tmp/commercial.crt /root/tmp/ca.crt

[root@mail tmp]$ /opt/zimbra/bin/zmcertmgr viewdeployedcrt

Then restart zimbra
Reply With Quote
  #2 (permalink)  
Old 05-15-2009, 05:17 AM
Senior Member
 
Posts: 62
Default

Sorted this by first making a copy of my private key
cp server.key server.key.org
Then running this
openssl rsa -in server.key.org -out server.key
changing the permissions so only root can read it
chmod 400 server.key
and running through the steps above again
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0