Expired certificate payara5

I’m running payara5 for the Dataverse repository software. The certificate has expired and I’ve tried importing a new one but getting error:
NCLS-ADMIN-00010
javax.net.ssl.SSLHandshakeException: NotAfter: Sun Aug 18 13:30:10 UTC 2024

Do I need to delete or remove expired certificates before the new ones are used. I’ve followed the directions from:
https://docs.payara.fish/community/docs/5.201/documentation/payara-server/server-configuration/ssl-certificates.html

Thank you in advnace,
Jamie

Hello,

I like to use the Keystore Explorer for this. This allows you to simply delete your certificates located in the /glassfish/domains/domain1/config folder and add the newly created certificates.
I hope that helps a bit.

Steven

Yes, that is very helpful. I have keystore explorer installed locally and will try that out.