src/Http/Middleware/Certificate.php
private function getCertificate(IlluminateRequest $request)
    {
        $signatureChainUri = $request->header(self::CERTIFICATE_URL_HEADER);

        $this->validateKeychainUri($signatureChainUri);

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

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

        $this->validateKeychainUri($signatureChainUri);

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

        return $certificate;
    }
Get the certificate from the certificate provider

@param IlluminateRequest $request

@return mixed