Thread: SMTP SSL error
View Single Post
  #4 (permalink)  
Old 11-08-2005, 10:42 AM
robroadie robroadie is offline
Intermediate Member
 
Posts: 19
Default hostname --fqdn

I removed --fqdn from zmcreatecert and a cert mx.networkassociations.org.uk was created.

I figured I'd need to do the same to zmcertinstall. Which I have done.

now to zmcertinstall.....

Code:
[zimbra@mx bin]$ zmcertinstall
** Importing server cert

/opt/zimbra/bin/zmcertinstall: line 74: [: =: unary operator expected
cp: missing destination file
Try `cp --help' for more information.
[zimbra@mx bin]$ zmcertinstall mail
** Importing server cert

cp: missing destination file
Try `cp --help' for more information.
[zimbra@mx bin]$
I get an error on line 74 of zmcertinstall which is the line begining keytool in
Code:
importCert() {

    echo "** Importing server cert"
    echo

    if [ $APP = "mailbox" ]; then
        keytool -import -alias tomcat -keystore ${TOMCAT}/keystore \
            -trustcacerts -file ${CERTFILE} -storepass zimbra
    else
        cp -f $CERTFILE ${CONF}/smtpd.crt
        cp -f $KEYFILE ${CONF}/smtpd.key
    fi

}

Last edited by robroadie; 11-08-2005 at 10:48 AM..
Reply With Quote