Revision 61a08fa3 lib/bootstrap.py

b/lib/bootstrap.py
96 96
  """
97 97
  _GenerateSelfSignedSslCert(constants.SSL_CERT_FILE)
98 98

  
99
  # Don't overwrite existing file
100
  if not os.path.exists(constants.RAPI_CERT_FILE):
101
    _GenerateSelfSignedSslCert(constants.RAPI_CERT_FILE)
102

  
99 103
  result = utils.RunCmd([constants.NODE_INITD_SCRIPT, "restart"])
100 104

  
101 105
  if result.failed:

Also available in: Unified diff