you need to accept the certificate from the appserver – it goes into a file in the user’s home dir, not the OS’s keystore.
I think you can do like:
Echo y | blcred cred –acqurie blah blah
And it will accept the cert.
I got to thinking about it after you posted Mr. Bill, and I think maybe going about it with the LocalSystem account is a bad idea all around. When I ran blcred cred -list I noticed my user had the associated authentication profiles listed as well. Since I am executing BLCLI commands with this used to add these systems I will need to be authenticated to execute them. I am wondering if I shouldn't have another user added, set a password, check password never expires, and use it as a user service account. Then I would just need to blred cred -acquire -profile PRODBL -username xxxx -password xxxxxxx as I originally intended. This same method I used for testing worked like a champ, this would somewhat emulate it.
I think. :/
Well... No, that was actually the easiest way to do it Mr. Bill. I had the code in place, adding the Echo Y| worked. I saw the usage for doing that same thing to a remote system to execute BLCLI from Contol-M but not like I am trying to use it.. and I don't have to involve our infrastructure team or change management processes to add a friggen user account. Thank you.
One correction here:
When we are accepting the certifications with echo y, it is still failing.
If we use echo yes only, it is successful.