cancel
Showing results for 
Search instead for 
Did you mean: 

Reissue token from master using CLI

emyatsuna
Level 3

Hi, is it possible to reissue token via CLI in the master server? My master runs on a Windows OS and having the 8.2 version ( soon will be upgraded to 8.3). I want to silently get the reissue token details from master as a requirement for the silentclient.cmd reinstallation of NetBackup client in client server. This is part of the automation process that I've been working and can't seem to execute any command. I don't want any human intervention in between. Any chance to do that in master server? Thanks!

4 REPLIES 4

L_BR
Level 5

Edit: Ignore my post, I thought you were looking for commands to do this from CLI manually.

 

Try


.\nbcertcmd.exe -getcertificate -host CLIENT.NAME -server MASTERSERVER -token TOKENCODE

 

Mike_Gavrilov
Moderator
Moderator
Partner    VIP    Accredited Certified

You can reissue token for the client on master-server like this:

bpnbat -login -logintype WEB
nbcertcmd -createToken -name <token_name> -reissue -host <host_name>

Thank you! I'll try this one.

AbdullahAlsaeed
Level 2

You may use the following to administrate the certificate. 

nbcertcmd.exe -getcertificate -host CLIENT.NAME -server MASTERSERVER -token TOKENCODE