Search

Language:  
Search for:

Available article translations:

Fatal error during assigning certificate on IP by command-line interface

Symptoms

During a process of assigning of an SSL certificate to an IP address the following error may occur:
"%plesk_bin%\certificate.exe" -c "Site Certificate" -domain mydomain.com -csr-file csr.txt -key-file key.txt -cert-file cert.txt
SSL certificate 'Site Certificate' was successfully created

"%plesk_bin%\certificate.exe" -l -domain mydomain.com
CSR Priv Cert CA Name Used
Y Y Y N Site Certificate 0
Listing of SSL certificates repository was successful

"%plesk_bin%\certificate.exe" -ac -domain mydomain.com -ip myIP
Fatal error: Call to undefined function mysql_num_rows() in C:\Program Files (x86)\Parallels\Plesk\admin\plib\api-common\cuCertificate.php on line 322

Resolution

It is necessary to replace the %plesk_dir%\admin\plib\api-common\cuCertificate.php file with the attachment. See the http://kb.parallels.com/en/1802 article about hot-fix installation procedure.


Attachments:


FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No