Skip to content

Commit

Permalink
fix HA enrollment: alternate controllers cannot be used -- JWT won't …
Browse files Browse the repository at this point in the history
…validate

using alternate controllers will be implemented once controllers support it
  • Loading branch information
ekoby committed Jan 8, 2025
1 parent 47cd62d commit 55f303e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions library/ziti_enroll.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,6 @@ static int start_enrollment(struct ziti_enroll_req *er) {

er->cfg.controller_url = strdup(er->enrollment.controller);
model_list_append(&er->cfg.controllers, strdup(er->enrollment.controller));
const char* ctrl;
MODEL_LIST_FOREACH(ctrl, er->enrollment.controllers) {
model_list_append(&er->cfg.controllers, strdup(ctrl));
}
ziti_ctrl_init(er->loop, &er->controller, &er->cfg.controllers, er->tls);

ziti_ctrl_get_well_known_certs(&er->controller, well_known_certs_cb, er);
Expand Down

0 comments on commit 55f303e

Please sign in to comment.