Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidmoten/jks-util
Utilities for manipulating JKS files
https://github.com/davidmoten/jks-util
Last synced: about 1 month ago
JSON representation
Utilities for manipulating JKS files
- Host: GitHub
- URL: https://github.com/davidmoten/jks-util
- Owner: davidmoten
- License: apache-2.0
- Created: 2022-05-25T01:34:38.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-27T21:12:13.000Z (3 months ago)
- Last Synced: 2024-08-27T22:53:23.685Z (3 months ago)
- Language: Java
- Size: 114 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jks-util
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.davidmoten/jks-util/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/com.github.davidmoten/jks-util)
[![codecov](https://codecov.io/gh/davidmoten/jks-util/branch/master/graph/badge.svg)](https://codecov.io/gh/davidmoten/jks-util)Utilities for manipulating JKS files.
**Status**: *released to Maven Central*
## Remove expiring entries from a JKS file
* `Jks.removeExpiringCertificates(file, password, expiryTime)`
* `Jdk.main` with arguments `"removeExpiring", "", "", ""`### Example using exec-maven-plugin
Add this to your pom.xml:```xml
com.github.davidmoten
jks-util
VERSION_HERE
org.codehaus.mojo
exec-maven-plugin
3.0.0
java
com.github.davidmoten.jks.Jks
removeExpiring
src/main/jks/cacerts.jks
changeit
90
```
Then call `mvn exec:java`