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

@@ -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'])) {