public function getProvider() {
        if(!$this->provider) {
            $root_path = $this->getSetting('MAJ_CERT_ROOTDIR', 'certificates/');
            $this->provider = new CertificateFileProvider($root_path, Globals::getTree());
        }
        return $this->provider;
    }