local-getcert: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/local-getcert - from package: certmonger

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/local-getcert - from package: certmonger

You may install the required package with command apt-get install {package}
Error in other languages:
local-getcert: bevel nie gevind nie
local-getcert: comandă negăsită
local-getcert: comando não encontrado
local-getcert: commande introuvable
local-getcert: command not found
local-getcert: käsku ei ole
local-getcert: không tìm thấy lệnh
local-getcert: komanda nerasta
local-getcert: Kommando nicht gefunden.
local-getcert: kommandot finns inte
local-getcert: komut yok
local-getcert: nie znaleziono polecenia
local-getcert: níor aimsíodh an t-ordú
local-getcert: no se encontró la orden
local-getcert: no s'ha trobat l'ordre
local-getcert: opdracht niet gevonden
local-getcert: parancs nem található
local-getcert: perintah tidak ditemukan
local-getcert: príkaz nenájdený
local-getcert: příkaz nenalezen
local-getcert: команда не найдена
local-getcert: командата не е открита
local-getcert: 命令找不到
local-getcert: コマンドが見つかりません