Projet

Général

Profil

0001-agent-generate-RSA-SHA256-self-signed-certificates-3.patch

Benjamin Dauvergne, 03 avril 2019 12:45

Télécharger (1,06 ko)

Voir les différences:

Subject: [PATCH] agent: generate RSA-SHA256 self signed certificates (#31964)

 hobo/agent/common/management/commands/hobo_deploy.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hobo/agent/common/management/commands/hobo_deploy.py
113 113
        if os.path.exists(key_file) and os.path.exists(cert_file):
114 114
            return
115 115

  
116
        openssl('req', '-x509', '-newkey', 'rsa:%s' % KEY_SIZE, '-nodes',
116
        openssl('req', '-x509', '-sha256', '-newkey', 'rsa:%s' % KEY_SIZE, '-nodes',
117 117
                '-keyout', key_file, '-out', cert_file, '-batch',
118 118
                '-subj', '/CN=%s' % tenant.domain_url[:60], '-days', str(DAYS))
119 119

  
120
-