Certificate file cannot be read to database if the domain contains capital letters.

This commit is contained in:
Andreas Grundler
2020-05-04 12:08:20 +02:00
parent b3db4dd887
commit c0dd432916

View File

@@ -20,9 +20,9 @@ use Froxlor\Domain\Domain;
* @author Froxlor team <team@froxlor.org> (2016-)
* @license GPLv2 http://files.froxlor.org/misc/COPYING.txt
* @package Cron
*
*
* @since 0.9.35
*
*
*/
class AcmeSh extends \Froxlor\Cron\FroxlorCron
{
@@ -328,7 +328,7 @@ class AcmeSh extends \Froxlor\Cron\FroxlorCron
private static function certToDb($certrow, &$cronlog, $acme_result)
{
$return = array();
self::readCertificateToVar($certrow['domain'], $return, $cronlog);
self::readCertificateToVar(strtolower($certrow['domain']), $return, $cronlog);
if (! empty($return['crt'])) {