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
}