Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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`