I was able to list the “trust stores” certificates expiration dates using the tips from Flow/JAVA service to list all client certificates.
Now, the challenge is to list the expiration date from the keys. I’ve found the way up to retrieving the keys… in binary format. Is there any service to “unabridge” it?
Here is how the service looks so far:
INVOKE wm.server.security.keystore:listKeyStoreAliases LOOP over /keyStoreAliasNames INVOKE wm.server.security.keystore:getKeyStore LOOP over /keyStore/configuredKeyAliases INVOKE pub.security.keystore:getKeyAndChain
However, this last
INVOKE pub.security.keystore:getKeyAndChain produces
Please note the objective is to produce a report of the key expiration date.