Hello guys.
I have a problem during renewing my certificate. Somehow my zimbra cannot create ca.pem file, and it always failed.
Below is my step to recreate certificate. Can someone see it and tell me where's my fault.
[root@mail ~]# rm -rf /opt/zimbra/ssl/*
[root@mail ~]# rm/rf /opt/zimbra/ssl/.rnd
-bash: rm/rf: No such file or directory
[root@mail ~]# rm -rf /opt/zimbra/ssl/.rnd
[root@mail ~]# /opt/zimbra/java/bin/keytool -delete -alias my_ca -keystore /opt/ zimbra/java/jre/lib/security/cacerts -storepass changeit
keytool error: java.lang.Exception: Alias <my_ca> does not exist
[root@mail ~]# /opt/zimbra/java/bin/keytool -delete -alias jetty -keystore /opt/ zimbra/mailboxd/etc/keystore -storepass `su - zimbra -c'zmlocalconfig -s -m noke y mailboxd_keystore_password'`
keytool error: java.lang.Exception: Alias <jetty> does not exist
[root@mail ~]# nano /opt/zimbra/bin/zmcertmgr
[root@mail ~]# /opt/zimbra/bin/zmcertmgr createca -new
/opt/zimbra/bin/zmcertmgr: line 96: /C=US/ST=N\/A/L=N\/A/O=Zimbra Collaboration Suite/OU=Zimbra
Collaboration Suite/CN=${mail.gs-golf.com}: bad substitution
** Creating directory /opt/zimbra/ssl/zimbra
** Creating directory /opt/zimbra/ssl/zimbra/ca
** Creating directory /opt/zimbra/ssl/zimbra/server
** Creating directory /opt/zimbra/ssl/zimbra/commercial
** Creating /opt/zimbra/ssl/zimbra/ca/zmssl.cnf...done
** Creating CA private key /opt/zimbra/ssl/zimbra/ca/ca.key...failed.

Generating a 1024 bit RSA private key
...++++++
.................................................. .............................. ..........++++++
writing new private key to '/opt/zimbra/ssl/zimbra/ca/ca.key'
-----
Subject does not start with '/'.
problems making Certificate Request

** Creating CA cert /opt/zimbra/ssl/zimbra/ca/ca.pem...failed.

/opt/zimbra/ssl/zimbra/ca/ca.csr: No such file or directory

[root@mail ~]#
Am using centos, and zimbra version 7