Fixed installation error: check on RSA generated key