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

ARTIFACTORY: Managing Licenses

AuthorFullName__c
Adi Malca
articleNumber
000005927
ft:sourceType
Salesforce
FirstPublishedDate
2023-12-04T15:34:51Z
lastModifiedDate
2024-10-20
VersionNumber
5
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.