Unable connect to bootstrapped manager after using ssl manager

Description

Create 2 cli's (cli1, cli2). Bootstrap a manager from cli1
Steps to reproduce:
1. Connect the manager and enable SSL
2. SSH cli2, and connect to the manager (m1)
3. Start another bootstrap from cli2
4. Try to connect to the second manager (m2)

The CLI fails to connect the manager:
[centos@cli1 ~]$ cfy profiles use 10.239.1.206 -u admin -p 7UxejQN3zeiP -t default_tenant
Attempting to connect...
Rest Certificate is set in profile and in the `LOCAL_REST_CERT_FILE` env variable. Resolve the conflict before continuing.
Either unset the env variable, or run `cfy profiles unset --rest_certificate`

Workaround is to remove the profile dir of the new bootstrapped manager and connect again

Status

Assignee

Yariv Hamamy

Reporter

Uri Wygodny

Labels

Bug Type

None

Target Version

None

Severity

None

Fix versions

Affects versions

Configure