surrounded retrieval of ConsumerCert with an if not null