now we check the not_before and not_after atrtributes of the ceritificate