View Single Post
  #7 (permalink)  
Old 02-09-2006, 10:52 AM
kenzoida kenzoida is offline
Junior Member
 
Posts: 8
Default

I'm still having problems deleting my_ca:

keytool -delete -alias my_ca -keystore /opt/zimbra/tomcat/conf/keystore -keypass zim
keytool error: java.lang.Exception: Alias does not exist

After recreating the ssl dir and setting 777 permissions, I'm now noticing that the permissions are reset after each of these commands. I'm fixing the permissions before the next command but I'm still getting the same error on zmcertinstall mailbox.

zmcreateca
ll ssl ssl/ssl/ca

drwx------ 3 zimbra zimbra 102 Feb 9 12:32 ssl/

drwx------ 7 root zimbra 238 Feb 9 12:36 ./
drwx------ 7 root zimbra 238 Feb 9 12:35 ../
-rwx------ 1 root zimbra 647 Feb 9 12:33 ca.csr*
-rwx------ 1 root zimbra 887 Feb 9 12:33 ca.key*
-rwx------ 1 root zimbra 863 Feb 9 12:33 ca.pem*
-rwx------ 1 root zimbra 3 Feb 9 12:36 ca.srl*
-rwx------ 1 root zimbra 3 Feb 9 12:35 ca.srl.old*

chmod 777 ssl ssl/ssl/ca

drwxrwxrwx 3 zimbra zimbra 102 Feb 9 12:32 ssl/

-rwxrwxrwx 1 root zimbra 647 Feb 9 12:33 ca.csr*
-rwxrwxrwx 1 root zimbra 887 Feb 9 12:33 ca.key*
-rwxrwxrwx 1 root zimbra 863 Feb 9 12:33 ca.pem*
-rwxrwxrwx 1 root zimbra 3 Feb 9 12:36 ca.srl*
-rwxrwxrwx 1 root zimbra 3 Feb 9 12:35 ca.srl.old*


zmcreatecert
ll ssl ssl/ssl/server

drwx------ 3 zimbra zimbra 102 Feb 9 12:32 ssl/

-rwx------ 1 root zimbra 1127 Feb 9 12:36 server.crt*
-rwx------ 1 root zimbra 647 Feb 9 12:36 server.csr*
-rwx------ 1 root zimbra 891 Feb 9 12:36 server.key*
-rwx------ 1 root zimbra 826 Feb 9 12:36 tomcat.crt*
-rwx------ 1 root zimbra 642 Feb 9 12:36 tomcat.csr*

chmod 777 ss ssl/ssl/server

drwxrwxrwx 3 zimbra zimbra 102 Feb 9 12:32 ssl/

-rwxrwxrwx 1 root zimbra 1127 Feb 9 12:36 server.crt*
-rwxrwxrwx 1 root zimbra 647 Feb 9 12:36 server.csr*
-rwxrwxrwx 1 root zimbra 891 Feb 9 12:36 server.key*
-rwxrwxrwx 1 root zimbra 826 Feb 9 12:36 tomcat.crt*
-rwxrwxrwx 1 root zimbra 642 Feb 9 12:36 tomcat.csr*

zmcertinstall mailbox

** Importing server cert

keytool error: java.lang.Exception: Public keys in reply and keystore don't match
Reply With Quote