You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by om...@apache.org on 2020/01/15 11:34:01 UTC

[incubator-dlab] branch DLAB-1158 updated: debug

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

omartushevskyi pushed a commit to branch DLAB-1158
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-1158 by this push:
     new f4d44bb  debug
f4d44bb is described below

commit f4d44bbb71dfa2bd055faeecebb638d6c930bed3
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Wed Jan 15 13:33:47 2020 +0200

    debug
---
 infrastructure-provisioning/src/general/lib/os/debian/edge_lib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/lib/os/debian/edge_lib.py b/infrastructure-provisioning/src/general/lib/os/debian/edge_lib.py
index 69c31b4..64bd2e7 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/edge_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/edge_lib.py
@@ -82,7 +82,7 @@ def install_nginx_lua(edge_ip, nginx_version, keycloak_auth_server_url, keycloak
                       os.environ['conf_stepcerts_kid'], os.environ['conf_stepcerts_ca_url'], user, cn, sans))
                 token = sudo('cat /tmp/step_token')
                 sudo('step ca certificate "{0}" /home/{2}/keys/dlab.crt /home/{2}/keys/dlab.key '
-                     '--token "{1}" --kty=RSA --size 2048 --provisioner {3} '.format(cn, token, user,
+                     '--token "{1}" --kty=RSA --size 2048 --not-after=10m --provisioner {3} '.format(cn, token, user,
                                                                                      os.environ['conf_stepcerts_kid']))
                 sudo('cp /home/{0}/keys/dlab.crt /etc/ssl/certs/'.format(user))
                 sudo('cp /home/{0}/keys/dlab.key /etc/ssl/certs/'.format(user))


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org