error creating certificate during installation if provided ca created with password

Description

create ca with password and provide it as input to installation.
installation will fail with following error:
2018-02-05 18:24:59.672 LOG <Cloudify-MOM> [cloudify_manager_as7t56.configure] INFO: 2018-02-05 18:24:57,098 - [MAIN] - ERROR - BootstrapError: Failed running command: sudo openssl x509 -days 3650 -sha256 -req -in /etc/cloudify/ssl/cloudify_internal_cert.pem.csr -out /etc/cloudify/ssl/cloudify_internal_cert.pem -extensions server_req_extensions -extfile /tmp/tmpAVpTbU -CA /etc/cloudify/ssl/cloudify_internal_ca_cert.pem -CAkey /etc/cloudify/ssl/cloudify_internal_ca_key.pem -CAcreateserial (Signature ok

2018-02-05 18:24:57,098 - [MAIN] - ERROR - BootstrapError: Failed running command: sudo openssl x509 -days 3650 -sha256 -req -in /etc/cloudify/ssl/cloudify_internal_cert.pem.csr -out /etc/cloudify/ssl/cloudify_internal_cert.pem -extensions server_req_extensions -extfile /tmp/tmpAVpTbU -CA /etc/cloudify/ssl/cloudify_internal_ca_cert.pem -CAkey /etc/cloudify/ssl/cloudify_internal_ca_key.pem -CAcreateserial (Signature ok
subject=/CN=172.24.68.22
Getting CA Private Key
Enter pass phrase for /etc/cloudify/ssl/cloudify_internal_ca_key.pem:
User interface error
unable to load CA Private Key
140057774696352:error:0906A068EM routinesEM_do_header:bad password readem_lib.c:463:
).

Assignee

Ido Berkovitch

Reporter

Ido Berkovitch

Labels

None

Bug Type

legacy bug

Target Version

4.3

Severity

None

Sprint

None

Fix versions

Affects versions

Configure