PrettyPrintCert: 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/PrettyPrintCert - from package: pki-java-tools

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