Skip to content

Commit b819220

Browse files
committed
Certificate format fixed
1 parent 91a78e4 commit b819220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Component/KeyManagement/KeyConverter/KeyConverter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public static function loadFromX5C(array $x5c): array
176176
$last_issuer = null;
177177
$last_subject = null;
178178
foreach ($x5c as $cert) {
179-
$current_cert = '-----BEGIN CERTIFICATE-----'.PHP_EOL.\chunk_split($cert,64,PHP_EOL).PHP_EOL.'-----END CERTIFICATE-----';
179+
$current_cert = '-----BEGIN CERTIFICATE-----'.PHP_EOL.\chunk_split($cert,64,PHP_EOL).'-----END CERTIFICATE-----';
180180
$x509 = \openssl_x509_read($current_cert);
181181
if (false === $x509) {
182182
$last_issuer = null;

0 commit comments

Comments
 (0)