[root@server]# /usr/local/psa/bin/keyinfo --test-key
PHP Warning: file_get_contents(): Filename cannot be empty; File: /usr/local/psa/admin/plib/api-common/cuKeyInfo.php, Line: 126
Exception: PHP Warning: file_get_contents(): Filename cannot be empty; File: /usr/local/psa/admin/plib/api-common/cuKeyInfo.php, Line: 126
file: /usr/local/psa/admin/smb/application/library/Smb/Exception/Syntax.php
line: 55
code: 0
trace: #0 [internal function]: Smb_Exception_Syntax::handleError(2, 'file_get_conten...', '/usr/local/psa/...', 126, Array)
#1 /usr/local/psa/admin/plib/api-common/cuKeyInfo.php(126): file_get_contents('')
#2 /usr/local/psa/admin/plib/api-common/cuKeyInfo.php(77): cuKeyInfo->cmdTestKey('')
#3 /usr/local/psa/admin/plib/api-common/AbstractCuExecutor.php(26): cuKeyInfo->execute()
#4 /usr/local/psa/admin/plib/api-common/CuExecutor.php(29): AbstractCuExecutor->_execUtil('cuKeyInfo', 'execute')
#5 /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php(18): CuExecutor->run()
#6 /usr/local/psa/admin/plib/api-cli/CliUtilityRunner.php(43): CliUtilityRunner->run()
#7 /usr/local/psa/admin/plib/api-cli/keyinfo.php(4): require_once('/usr/local/psa/...')
#8 {main}
The key is not suitable for current Plesk version