Deploy Certificates

usability
(Alex) #1

Hello,

I am deploying Cartificates with Octopus … Currently I have configured my Process for 1 specific suer example: ‘Testserver01\ServiceAccount’ but now I have to face the following problem: I have a multiple Targets and my Hostname is fixed but it was to be variable because on an other target I have a other hostname …

What is here the best solution?
I do not want to add for every deployment target the hostname as variable that would be quite a work.

Regards Alex

(Alex) #2

Found a solution using a powershell script …
Set-OctopusVariable -name “_currentHostname” -value $env:computername

Better options?

(Justin Walsh) #4

Hi @BlindRob!

Looks like you hit the nail on the head with your powershell script - that is the solution I would have taken!