You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dm...@apache.org on 2018/09/12 14:33:28 UTC

[ambari] branch branch-2.7 updated: AMBARI-24625. Ambari self signed certificate generated with 1024 bits length, need to make this 2048 (dlysnichenko) (#2298)

This is an automated email from the ASF dual-hosted git repository.

dmitriusan pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new 08f1971  AMBARI-24625. Ambari self signed certificate generated with 1024 bits length, need to make this 2048 (dlysnichenko) (#2298)
08f1971 is described below

commit 08f197107e67403ac9056690bd590dbddebd4bd4
Author: Lisnichenko Dmitro <dm...@apache.org>
AuthorDate: Wed Sep 12 17:33:25 2018 +0300

    AMBARI-24625. Ambari self signed certificate generated with 1024 bits length, need to make this 2048 (dlysnichenko) (#2298)
---
 ambari-agent/src/main/python/ambari_agent/security.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-agent/src/main/python/ambari_agent/security.py b/ambari-agent/src/main/python/ambari_agent/security.py
index 983d990..e7c934c 100644
--- a/ambari-agent/src/main/python/ambari_agent/security.py
+++ b/ambari-agent/src/main/python/ambari_agent/security.py
@@ -37,7 +37,7 @@ from socket import error as socket_error
 
 logger = logging.getLogger(__name__)
 
-GEN_AGENT_KEY = 'openssl req -new -newkey rsa:1024 -nodes -keyout "%(keysdir)s' \
+GEN_AGENT_KEY = 'openssl req -new -newkey rsa -nodes -keyout "%(keysdir)s' \
                 + os.sep + '%(hostname)s.key" -subj /OU=%(hostname)s/ ' \
                 '-out "%(keysdir)s' + os.sep + '%(hostname)s.csr"'
 KEY_FILENAME = '%(hostname)s.key'