adds not_before and not_after