Conversation
A set of 3 scripts allowing the user to stop trusting an old thumbprint / certificate and start trusting a new thumbprint / certificate. Scripts for both Listening and Polling Linux Tentacles.
|
|
||
| # Stop trusting the old certificate | ||
| echo "Stop trusting the old Octopus Server certificate..." | ||
| sudo ./Tentacle configure --instance Tentacle --remove-trust <old-thumbprint> |
There was a problem hiding this comment.
Should the instance name Tentacle be a variable? Not all tentacles use the default named instance. They may have another name for it, meaning this and subsequent commands would fail
There was a problem hiding this comment.
Good call, I'll update the script accordingly, thank you!
|
|
||
| # Trust new Octopus Server thumbprint | ||
| echo "Trust the new Octopus Server certificate / thumbprint..." | ||
| sudo ./Tentacle configure --trust="<new-octopus-server-thumbprint>" |
There was a problem hiding this comment.
Should this command include the --instance parameter with a variable supplied with the name.
There was a problem hiding this comment.
Not according to the script on this docs page:
There was a problem hiding this comment.
This documentation appears to show support for --instance. I suspect that the doc you linked to was assuming the default instance (called Tentacle). It depends how complete you want this script to be I guess?
|
|
||
| # Trust new Octopus Server thumbprint | ||
| echo "Trust the new Octopus Server certificate / thumbprint..." | ||
| sudo ./Tentacle update-trust --oldThumbprint "1111111111111111111111111111111111111111" --newThumbprint "1234567890123456789012345678901234567890" |
There was a problem hiding this comment.
Should this command include the --instance parameter with a variable supplied with the name.
There was a problem hiding this comment.
Not according to the script on this docs page:
There was a problem hiding this comment.
This documentation appears to show support for --instance. I suspect that the doc you linked to was assuming the default instance (called Tentacle). It depends how complete you want this script to be I guess?
A set of 3 scripts allowing the user to stop trusting an old thumbprint / certificate and start trusting a new thumbprint / certificate.
Scripts for both Listening and Polling Linux Tentacles.