We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44e5d2f commit 91a78e4Copy full SHA for 91a78e4
src/Component/KeyManagement/KeyConverter/KeyConverter.php
@@ -176,7 +176,7 @@ public static function loadFromX5C(array $x5c): array
176
$last_issuer = null;
177
$last_subject = null;
178
foreach ($x5c as $cert) {
179
- $current_cert = '-----BEGIN CERTIFICATE-----'.PHP_EOL.$cert.PHP_EOL.'-----END CERTIFICATE-----';
+ $current_cert = '-----BEGIN CERTIFICATE-----'.PHP_EOL.\chunk_split($cert,64,PHP_EOL).PHP_EOL.'-----END CERTIFICATE-----';
180
$x509 = \openssl_x509_read($current_cert);
181
if (false === $x509) {
182
0 commit comments