Second CLI receives an error while trying to connect to manager with ssl enable

Description

Prerequisites:

  • 2* Cloudify premium CLI edition installed version 4.3

  • Cloudify manager v4.3 bootstrapped (SSL disabled)

Steps:

  1. Connect to the first cli- ssh <user_name@ip address> -i <key path>

  2. Connect the manager from first CLI- cfy profiles use <IP> -u admin -p <password> -t default-tenant

  3. Enable ssl- cfy ssl enable cfy profiles set --ssl on --skip-credentials-validation

  4. Connect to the second cli- ssh <user_name@ip address> -i <key path>

  5. Enable ssl only on the cli- cfy profiles set --ssl on --skip-credentials-validation

  6. Connect the manager from second CLI- cfy profiles use <IP> -u admin -p <password> -t default-tenant

Actually result:
You will receive an error saying that the profile dir doesn't exist.
+Attempting to connect to 10.239.2.105 through port 80, using http (SSL mode: False)...
Can't use manager 10.239.2.105. 400: <html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>
http://10.239.2.105:80/api/v3.1/status+

Assignee

Uri Wygodny

Reporter

Lital Hamami

Labels

None

Bug Type

None

Target Version

None

Severity

None

Affects versions

Configure