/**
  * {@inheritdoc}
  */
 public function format(Certificate $certificate, KeyPair $domainKeyPair)
 {
     return $certificate->getPem() . implode('', $this->certificateAuthorityConfiguration->getCertificatesChain());
 }
 /**
  * {@inheritdoc}
  */
 public function format(Certificate $certificate, KeyPair $domainKeyPair)
 {
     return $certificate->getPem();
 }