Skip to content

2024.2.4.0-b47

@shubin-yb shubin-yb tagged this 03 Jun 17:41
Summary:
Original commit: cede789b16b9bfa028e0942bbcc7a2dc03aec790 / D44083
The core goal was to move state out of yba-installer config file. To accomplish this
we no longer populated the cert and key paths of self signed certs into the config file.
Instead, self signed certs will always go to a hard-coded location.

To regenerate self signed certs, there is now a new command `yba-ctl certs generate`,
which should be more clear then deleting the config to regenerate certs.

Also fixed a bug where moving from self signed certs to custom certs would not
correctly update the state file.

Finally, improved some initialization logging we had been missing that helped with
debugging

Test Plan:
1. Tested new reconfigure (moving to and from self signed certs
2. Tested new certs generate command
3. Tested upgrade from custom certs with self signed as true (bug we had found)

Reviewers: muthu

Reviewed By: muthu

Subscribers: svc_phabricator

Differential Revision: https://phorge.dev.yugabyte.com/D44305
Assets 2
Loading