We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d47580d commit 1da2864Copy full SHA for 1da2864
library/EngineBlock/Corto/Module/Service/Certificate.php
@@ -6,7 +6,7 @@ public function serve($serviceName)
6
{
7
$filename = $_SERVER['SERVER_NAME'] . '.pem';
8
$certificates = $this->_server->getSigningCertificates();
9
- $publicCertContents = $certificates['public'];
+ $publicCertContents = $certificates->getCertificate()->toPem();
10
11
header('Content-Type: application/x-pem-file');
12
header('Content-Disposition: attachment; filename="' . $filename . '"');
0 commit comments