Deploy Certificates

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

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

Better options?

Hi @BlindRob!

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

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.