HTTPS Settings - Expiration Warning

Is there a way to configure the HTTPS warning? Primarily how many days until expiration? Or disable the warning altogether?

Updating the certificate is a manual process, so we generally let it go until a few days remain. We'd also be happy with disabling the warning because we have a different system monitoring our certificate expiries.

0
8 comments
Hi Daniel,

Could you share the screenshot of this warning? Just want to know where you see it.

Best regards,
Anton
0

Hi Anton,

This standard warning:

 

Kind regards,

Daniel

0

I also see the warning in a global notification bar, but I've already dismissed it for today. It will be back tomorrow :(

0
Dear Daniel,

It looks to me that 

teamcity.https.close.expiration.threshold.minutes

or

teamcity.https.close.expiration.threshold.days

internal properties, described in https://www.jetbrains.com/help/teamcity/https-server-settings.html#Automatic+Certificate+Renewal should work for this warning as well.

Let me know if it helped.

Best regards,
Anton
0

Hi Anton,

I added this internal property yesterday and restarted the TeamCity service:

teamcity.https.close.expiration.threshold.days=5

Today, I'm greeted by:

What did I do wrong?

Cheers,

Daniel

0

In case it matters, the TeamCity version is: TeamCity Professional 2025.03.1 (build 186125)

0
Hi Daniel,

I have an assumption that I want to confirm.
Could you try adding the teamcity.https.close.expiration.threshold.hours=120?
It looks like it should work.

Best regards,
Anton
0

Hi Anton,

That seems to have sorted the top bar which was the goal. The HTTPS setting page still shows the expiration in X days, but on reflection, that's probably a good thing.

Thank you,

Daniel

0

Please sign in to leave a comment.