diff --git a/src/Janus/OpenSsl/Certificate.php b/src/Janus/OpenSsl/Certificate.php index f6d20b9..10badcf 100644 --- a/src/Janus/OpenSsl/Certificate.php +++ b/src/Janus/OpenSsl/Certificate.php @@ -103,6 +103,9 @@ public function getIssuerDn() { $dnParts = array(); foreach ($this->_parsed['issuer'] as $key => $value) { + if (is_array($value)) { + $value = implode("\n", $value); + } $dnParts []= "/$key=$value"; }