Skip to content

Commit 1da2864

Browse files
author
Boy Baukema
committed
Bugfix to /proxy/certificate after introduction of new X509 classes.
1 parent d47580d commit 1da2864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/EngineBlock/Corto/Module/Service/Certificate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public function serve($serviceName)
66
{
77
$filename = $_SERVER['SERVER_NAME'] . '.pem';
88
$certificates = $this->_server->getSigningCertificates();
9-
$publicCertContents = $certificates['public'];
9+
$publicCertContents = $certificates->getCertificate()->toPem();
1010

1111
header('Content-Type: application/x-pem-file');
1212
header('Content-Disposition: attachment; filename="' . $filename . '"');

0 commit comments

Comments
 (0)