Article ID: 8263, created on Mar 23, 2010, last review on Apr 18, 2012

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 https://kb.parallels.com/en/1802 article about hot-fix installation procedure.

Attachments

Email subscription for changes to this article
Save as PDF