nerdexam
Citrix

1Y0-240 · Question #213

A Citrix Administrator needs to confirm that all the client certificates presented to the authentication virtual server are valid until year 2020. Which expression can the administrator use to meet…

The correct answer is B. CLIENT.SSL.CLIENT_CERT.VALID_NOT_AFTER.EQ(GMT2020). https://docs.citrix.com/en-us/Citrix ADC/11/appexpert/policies-and-expressions/ns-pi-adv-exp- work-date-time-num-wrapper-con/ns-pi-exp-ssl-certifct-date-con.html

SSL Offloading

Question

A Citrix Administrator needs to confirm that all the client certificates presented to the authentication virtual server are valid until year 2020. Which expression can the administrator use to meet this requirement?

Options

  • ACLIENT.SSL.CLIENT_CERT.VALID_NOT_BEFORE.EQ(GMT2020)
  • BCLIENT.SSL.CLIENT_CERT.VALID_NOT_AFTER.EQ(GMT2020)
  • CCLIENT.SSL.ORIGIN_SERVER_CERT.VALID_NOT_AFTER.EQ(GMT2020)
  • DCLIENT.SSL.CLIENT_CERT.DAYS_TO_EXPIRE.EQ(2020)

How the community answered

(16 responses)
  • A
    6% (1)
  • B
    75% (12)
  • C
    6% (1)
  • D
    13% (2)

Explanation

https://docs.citrix.com/en-us/Citrix ADC/11/appexpert/policies-and-expressions/ns-pi-adv-exp- work-date-time-num-wrapper-con/ns-pi-exp-ssl-certifct-date-con.html

Topics

#client certificate#VALID_NOT_AFTER#SSL expression#certificate validation

Community Discussion

6
Anjali D.Anjali D.May 25, 2026

Our group landed on B, and once you think through the field names it becomes pretty obvious why. VALID_NOT_AFTER is the certificate field that holds the expiration date, so checking that value against GMT2020 tells you whether the client cert stays valid through that year. Option A flips it to VALID_NOT_BEFORE, which is the start of the validity window, not the end, so that would not confirm anything about when the cert expires. Option C uses ORIGIN_SERVER_CERT instead of CLIENT_CERT, which means you would be inspecting the backend server certificate rather than the one the client is presenting to the authentication vserver. Option D trips people up because 2020 looks like a year, but DAYS_TO_EXPIRE.EQ(2020) is asking whether exactly 2020 days remain on the cert, which is a completely different check and not what the scenario is asking for. Anyone else want to add to this or flag anything we might have gotten wrong?

23
Mei-Ling H.Mei-Ling H.Jun 23, 2026

The key word in the question is "valid until" because that points you straight to the expiration field, not the start field. VALID_NOT_AFTER is the field that stores the date after which the certificate is no longer valid, so checking it against GMT2020 confirms the cert expires in 2020, which matches what the question is asking. You can rule out A immediately because NOT_BEFORE is about when the cert became valid, not when it expires, and D makes no sense because 2020 is a year and DAYS_TO_EXPIRE takes a number of days, not a calendar year. C uses ORIGIN_SERVER_CERT which is for the backend server certificate, not what the client presents to the authentication virtual server. My question is, does EQ(GMT2020) match on any date within the year 2020, or does it need an exact timestamp? Because if a certificate expires on 2020-06-15 and another expires on 2020-12-31, I want to know if both would pass this expression or if you need something like LT or LE with a full date value to be more precise.

3
Luis F.Luis F.Jun 13, 2026

Guys I am pretty sure the answer is D because DAYS_TO_EXPIRE is literally checking when the cert expires, and if you set that to 2020 you are telling the system to confirm validity through 2020, which is exactly what the question is asking. That one just makes the most logical sense to me compared to the others which seem to be checking specific timestamps rather than confirming a validity window.

0
Yusuf A.Yusuf A.Jun 13, 2026

Hey Luis, good thought but I think the hang-up is that DAYS_TO_EXPIRE takes a number of days as its value, not a calendar year, so setting it to 2020 would just mean "expire after 2020 days" rather than confirming validity through the year 2020, which is why B is the right pick since it targets the actual validation check directly.

0
Nina C.Nina C.May 29, 2026

I almost picked A because "not before" sounded like it was setting a boundary on when the cert is allowed, and I mixed up the two date fields in my head. What clicked it for me is that NOT_AFTER is literally the expiration date on the certificate, so checking VALID_NOT_AFTER confirms it stays valid up through that point in time, and since the question asks about the client cert specifically, not the origin server cert, B is the one that fits.

-1
Yusuf A.Yusuf A.Jun 27, 2026

I actually second-guessed myself on this one because I kept confusing VALID_NOT_BEFORE with VALID_NOT_AFTER, but then I remembered what a senior at my shop told me: NOT_AFTER is the expiry cutoff, so if you want certs valid until 2020 you check that the NOT_AFTER date equals that year, which makes B the right call. The NOT_BEFORE just tells you when the cert became active, not when it stops being valid, so A would be checking the wrong end of the validity window entirely.

-1
Full 1Y0-240 Practice