-
Notifications
You must be signed in to change notification settings - Fork 132
New Linux target thumbprint #248
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Run on *each* Linux Listening Tentacle VM | ||
|
|
||
| # Stop trusting the old certificate | ||
| echo "Stop trusting the old Octopus Server certificate..." | ||
| sudo ./Tentacle configure --instance Tentacle --remove-trust <old-thumbprint> | ||
| echo "Successfully completed removing the old Octopus Server certificate" | ||
|
|
||
| # Restart the Tentacle service | ||
| echo "Restarting the Tentacle service..." | ||
| sudo ./Tentacle service --instance Tentacle --restart | ||
| echo "Successfully completed restarting the Tentacle service" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Run on *each* Linux Listening Tentacle VM | ||
|
|
||
| # Trust new Octopus Server thumbprint | ||
| echo "Trust the new Octopus Server certificate / thumbprint..." | ||
| sudo ./Tentacle configure --trust="<new-octopus-server-thumbprint>" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this command include the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not according to the script on this docs page:
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This documentation appears to show support for |
||
| echo "Successfully completed trusting the Octopus Server certificate / thumbprint." | ||
|
|
||
| echo "Don't forget, you'll need to come back later and run the script to *stop* trusting the old Octopus Server certificate & thumbprint..." | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Run on *each* Linux Polling Tentacle VM | ||
|
|
||
| # ** Note: There will be down time in comms with your Polling Tentacles until after you have completed running this script on *each* VM where a Polling Tentacle is installed. ** | ||
|
|
||
| # Trust new Octopus Server thumbprint | ||
| echo "Trust the new Octopus Server certificate / thumbprint..." | ||
| sudo ./Tentacle update-trust --oldThumbprint "1111111111111111111111111111111111111111" --newThumbprint "1234567890123456789012345678901234567890" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this command include the --instance parameter with a variable supplied with the name.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not according to the script on this docs page:
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This documentation appears to show support for |
||
| echo "Successfully completed trusting the Octopus Server certificate / thumbprint." | ||
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.
Should the instance name
Tentaclebe a variable? Not all tentacles use the default named instance. They may have another name for it, meaning this and subsequent commands would failThere 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 call, I'll update the script accordingly, thank you!