Why is the license expiration banner is present after placing a new license?

ARTIFACTORY: Managing Licenses

AuthorFullName__c
David Livshin, Adi Malca
articleNumber
000005927
ft:sourceType
Salesforce
FirstPublishedDate
2023-12-04T15:34:51Z
lastModifiedDate
2024-01-07T16:38:19Z
VersionNumber
4
After placing a new license in the UI or attaching a new license from a bucket, it is possible that the banner with the message "Your Artifactory ... license has expired." will still appear. This can be due to the old license being present in the artifactory.lic or artifactory.cluster.liceses file.

In order to resolve this behavior navigate to the file under:
 $ARTIFACTORY_HOME/var/etc/artifactory
⧉ 
open the file and remove the old license, after saving the file refresh the page in the browser.