Revision ab4b1cf2 lib/bootstrap.py
b/lib/bootstrap.py | ||
---|---|---|
138 | 138 |
# pylint: disable=R0913 |
139 | 139 |
# noded SSL certificate |
140 | 140 |
utils.GenerateNewSslCert( |
141 |
new_cluster_cert, nodecert_file, |
|
141 |
new_cluster_cert, nodecert_file, 1,
|
|
142 | 142 |
"Generating new cluster certificate at %s" % nodecert_file) |
143 | 143 |
|
144 | 144 |
# confd HMAC key |
... | ... | |
153 | 153 |
|
154 | 154 |
else: |
155 | 155 |
utils.GenerateNewSslCert( |
156 |
new_rapi_cert, rapicert_file, |
|
156 |
new_rapi_cert, rapicert_file, 1,
|
|
157 | 157 |
"Generating new RAPI certificate at %s" % rapicert_file) |
158 | 158 |
|
159 | 159 |
# SPICE |
... | ... | |
173 | 173 |
|
174 | 174 |
logging.debug("Generating new self-signed SPICE certificate at %s", |
175 | 175 |
spicecert_file) |
176 |
(_, cert_pem) = utils.GenerateSelfSignedSslCert(spicecert_file) |
|
176 |
(_, cert_pem) = utils.GenerateSelfSignedSslCert(spicecert_file, 1)
|
|
177 | 177 |
|
178 | 178 |
# Self-signed certificate -> the public certificate is also the CA public |
179 | 179 |
# certificate |
Also available in: Unified diff