private function getCertificate(IlluminateRequest $request)
    {
        $signatureChainUri = $request->header(self::CERTIFICATE_URL_HEADER);

        $this->validateKeychainUri($signatureChainUri);

        $certificate = $this->certificateProvider->getCertificateFromUri($signatureChainUri);

        return $certificate;
    }