-
Notifications
You must be signed in to change notification settings - Fork 618
Backup and restore custom CA certificates #281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -45,6 +45,11 @@ if [ "$GHE_VERSION_MAJOR" -ge 2 ]; then | |||
fi | |||
fi | |||
|
|||
if ghe-ssh "$host" -- "which ghe-export-ssl-ca-certificates"; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've not tested this, but isn't this going to produce unnecessary output in the backup output? We might want to direct all output to /dev/null to be sure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, that will write the path of that script when found.
fixing multiuser conditional argon secret backup
fixing multiuser conditional argon secret backup
Using enhancements added in GitHub Enterprise 2.8.0, adds support for the backup and restore of custom CA certificates.
These certificates are only restored if an appliance is unconfigured, or the restore is performed with the
-c
flag.Requires GitHub Enterprise 2.8.0 or later.
Fixes https://github.com/github/backup-utils/issues/163
/cc @github/backup-utils for review