Revision 82ad3594 lib/utils.py

b/lib/utils.py
2273 2273
      # Set permissions before writing key
2274 2274
      os.chmod(tmp_file_name, 0600)
2275 2275

  
2276
      result = RunCmd(["openssl", "req", "-new", "-newkey", "rsa:1024",
2276
      result = RunCmd([constants.OPENSSL_PATH, "req",
2277
                       "-new", "-newkey", "rsa:1024",
2277 2278
                       "-days", str(validity), "-nodes", "-x509",
2278 2279
                       "-keyout", tmp_file_name, "-out", tmp_file_name,
2279 2280
                       "-batch"])

Also available in: Unified diff