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/24 11:49:56 UTC

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

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

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


The following commit(s) were added to refs/heads/DLAB-1462 by this push:
     new 4ddb61a  [DLAB-1462]: debug
4ddb61a is described below

commit 4ddb61a48e23e658465339638dba36d7fe941c11
Author: Oleh Martushevskyi <Ol...@epam.com>
AuthorDate: Fri Jan 24 13:49:42 2020 +0200

    [DLAB-1462]: debug
---
 infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py b/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
index 42a6a09..fba5ca4 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
@@ -148,7 +148,7 @@ def configure_ssl_certs(hostname, custom_ssl_cert):
                               args.os_user, cn, sans))
                 token = sudo('cat /tmp/step_token')
                 sudo('step ca certificate "{0}" /etc/ssl/certs/dlab.crt /etc/ssl/certs/dlab.key '
-                     '--token "{1}" --kty=RSA --size 2048 --provisioner {2} '.format(cn, token,
+                     '--token "{1}" --kty=RSA --size 2048 --provisioner {2} --not-after=5m'.format(cn, token,
                                                                                      os.environ['conf_stepcerts_kid']))
                 sudo('touch /var/log/renew_certificates.log')
                 put('/root/templates/renew_certificates.sh', '/tmp/renew_certificates.sh')


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