rhevm-setup fails on installCA.sh

Latest response

Trying to run rhevm-setup. Key in all the details but the setup script fails on Creating CA. This is from the logs:

} Creating CA...

2011-11-25 13:02:47::DEBUG::common_utils::196::root:: stderr = Generating RSA private key, 1024 bit long modulus
.............................++++++
....++++++
e is 65537 (0x10001)
Using configuration from openssl.conf
start date is invalid, it should be YYMMDDHHMMSSZ or YYYYMMDDHHMMSSZ
140595061446472:error:0E06D06C:configuration file routines:NCONF_get_string:no value:conf_lib.c:335:group= name=unique_subject
140595061446472:error:0E06D06C:configuration file routines:NCONF_get_string:no value:conf_lib.c:335:group=CA_default name=email_in_dn
file ca.pem does not exist!
2011-11-25 13:02:47::DEBUG::common_utils::197::root:: retcode = 1
2011-11-25 13:02:47::ERROR::rhevm-setup::1006::root:: Traceback (most recent call last):
  File "/usr/bin/rhevm-setup", line 970, in _createCA
    out, rc = utils.execCmd(cmd, None, True, output_messages.ERR_RC_CODE, [basedefs.CONST_CA_PASS])
  File "/usr/share/rhevm/scripts/common_utils.py", line 200, in execCmd
    raise Exception(msg)
Exception: Return Code is not zero
 

I can see a ca.pem in /etc/pki/rhevm. Any ideas?

Responses