Selbst-signiertes Zertifikat generieren -> Ungültiges SSL-Zertifikat

  • Habt Ihr eine Idee? any idea?
    Selbst-signiertes Zertifikat generieren klappt nicht mehr Zeit einiger zeit. -> Ungültiges SSL-Zertifikat


    Update auf i-MSCP 1.2.17 Build: 20160312 hat auch nicht geholfen, gleicher Fehler.


    ==> /var/log/imscp/Plugin_module_SpamAssassin.log <==
    tail: /var/log/imscp/SSLcertificate_module_als.log: file truncated
    [Thu Apr 28 22:40:57 2016] [debug] iMSCP::Dir::make: /var/www/imscp/gui/data/certs already exists. Setting its permissions...
    [Thu Apr 28 22:40:57 2016] [debug] iMSCP::Dir::mode: Changing mode for /var/www/imscp/gui/data/certs to 488
    [Thu Apr 28 22:40:57 2016] [debug] iMSCP::Dir::owner: Changing owner and group for /var/www/imscp/gui/data/certs to 0: 0
    [Thu Apr 28 22:40:57 2016] [debug] iMSCP::Execute::execute: openssl rsa -in '/tmp/OOe0qLok2k' -noout
    [Thu Apr 28 22:40:57 2016] [debug] iMSCP::Execute::execute: openssl verify -purpose sslserver '/tmp/7WJXHEvEHt'
    [Thu Apr 28 22:40:57 2016] [debug] iMSCP::OpenSSL::validateCertificate: /tmp/7WJXHEvEHt: C = US, ST = N/A, L = Neu xxx , O = ITS, CN = its.de, emailAddress = [email protected]
    error 18 at 0 depth lookup:self signed certificate
    OK
    [Thu Apr 28 22:40:57 2016] [debug] iMSCP::Execute::execute: openssl rsa -in '/tmp/OOe0qLok2k' -out '/var/www/imscp/gui/data/certs/its.de.pem'
    [Thu Apr 28 22:40:57 2016] [debug] iMSCP::File::save: Saving file /tmp/7WJXHEvEHt
    [Thu Apr 28 22:40:57 2016] [debug] iMSCP::Execute::execute: cat '/tmp/7WJXHEvEHt' >> '/var/www/imscp/gui/data/certs/its.de.pem'
    [Thu Apr 28 22:40:57 2016] [error] iMSCP::File::get: Unable to open : No such file or directory
    [Thu Apr 28 22:40:57 2016] [error] iMSCP::OpenSSL::ImportCaBundle: Could not read file


    tail: /var/log/imscp/Alias_module_its.de.log: file truncated
    [Thu Apr 28 22:40:57 2016] [debug] iMSCP::EventManager::register: Registering listener on the afterHttpdBuildConfFile event from Servers::httpd::apache_php_fpm::_init
    [Thu Apr 28 22:40:57 2016] [debug] iMSCP::Config::_init: Tying /etc/imscp/php-fpm/phpfpm.data
    [Thu Apr 28 22:40:57 2016] [debug] iMSCP::Config::_loadConfig: Loading /etc/imscp/php-fpm/phpfpm.data
    [Thu Apr 28 22:40:57 2016] [debug] iMSCP::Config::_parseConfig: Parsing /etc/imscp/php-fpm/phpfpm.data
    [Thu Apr 28 22:40:57 2016] [debug] iMSCP::EventManager::register: Registering listener on the afterFrontendSetGuiPermissions event from Package::FileManager::_init
    ....



    test in konsole:
    ls -l /var/www/imscp/gui/data/certs/its.de.pem
    -rw-r--r-- 1 root root 3501 Apr 28 22:40 /var/www/imscp/gui/data/certs/its.de.pem


    ls -l /tmp/7WJXHEvEHt
    ls: cannot access /tmp/7WJXHEvEHt: No such file or directory
    ls -l /tmp/OOe0qLok2k
    ls: cannot access /tmp/OOe0qLok2k: No such file or directory


    cd /tmp
    ls -l
    drwxrwxrwt 4 root root 20480 Apr 28 22:44 tmp