sundogbrew
Apr 15, 2018Altocumulus
Cert replacement script
Hey Guys, I have a script I have used a bunch of times to replace the cert on a bunch of apps (we use a *) However, I am testing it and it doesn't work anymore? I have been looking at this for hours and can't see it?
tmsh list ltm virtual one-line|grep old-cert|cut -d' ' -f3| xargs -I_-n1 tmsh modify ltm virtual _ profiles delete { old-cert } profiles add { new-cert }
The error I am getting is this The requested virtual server profile (/Common/_ /Common/old-cert) was not found.
As always, help is greatly appreciated! Thanks Joe