10 January, 2025
TeamCity – updating Perforce SSL certificate
I recently updated SSL certificate for a Perforce server. Turns out TeamCity had issues with p4 trust not accepting the new server identity.
At this moment TeamCity’s documentation says to set the teamcity.internal.perforce.forceTrust=true “configuration parameter to the related project or build configuration” See for yourself at the documentation. This is simply wrong!
Thankfully TeamCity’s bug tracker has the proper solution. Turns out you have to navigate to the diagnostics tab in admin panel, go for internal properties and set it there. For reference, the link will look like this:
https://teamcity.example.com/admin/admin.html?item=diagnostics&tab=dataDir&file=config/internal.properties#!:config
That’s it! Don’t forget to disable the parameter once the new identity is picked up by TeamCity.
