0001-agent-generate-RSA-SHA256-self-signed-certificates-3.patch
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 |
- |