checcking for null certificate