[SSL] Adding SSL-certificate causes undefined index warning

  • While adding a new certificate for a customer (which is right in my eyes), an exception was thrown.
    Above the page it stated:

    Code
    1. Notice: Undefined variable: signingCert in /var/www/imscp/gui/library/vendor/phpseclib/File/X509.php on line 2060 Notice: Undefined variable: signingCert in /var/www/imscp/gui/library/vendor/phpseclib/File/X509.php on line 2061


    And the warning in the page says

    Code
    1. Dit certificaat is niet geldig of de CA-bundel mist.

    - The certificate is not valid or the CA-bundle is missing


    With just the root CA and with the full chain this warning is thrown.


    Version information
    i-MSCP: 1.2.0 (Stable release version)
    Apache/2.2.22
    Debian 7
    OpenSSL 1.0.1e