https://github.com/marsskop/lightkeytool
lightkeytool is a lightweight implementation of Java keytool.
https://github.com/marsskop/lightkeytool
certificates cli developer-tools keystore
Last synced: 4 months ago
JSON representation
lightkeytool is a lightweight implementation of Java keytool.
- Host: GitHub
- URL: https://github.com/marsskop/lightkeytool
- Owner: marsskop
- License: mit
- Created: 2024-08-08T07:21:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-17T14:07:48.000Z (about 1 year ago)
- Last Synced: 2025-03-17T14:42:39.802Z (about 1 year ago)
- Topics: certificates, cli, developer-tools, keystore
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lightkeytool
A lightweight GO implementation of Java [keytool](https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html) that does not require an installation of Java JDK.
## Installation
1. Download the latest version of the application from the [releases](https://github.com/marsskop/lightkeytool/releases) page.
2. Rename the downloaded file to `lightkeytool`.
3. Add execute permissions to the binary. E.g., on Linux and Mac: `chmod u+x lightkeytool`.
4. Put the binary in your `PATH`. E.g., on Linux and Mac: `mv lightkeytool /usr/local/bin/lightkeytool`.
## Help Output
```bash
lightkeytool --help
```
```
A lightweight CLI implementation of keytool that requires no Java JDK to be installed.
Usage:
lightkeytool [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
exportcert Export data
help Help about any command
importcert Import a certificate/certificate chain to a keystore
importkeystore Import contents from another keystore
Flags:
-h, --help help for lightkeytool
-v, --verbose verbose output
--version version for lightkeytool
Use "lightkeytool [command] --help" for more information about a command.
```
## Development Setup
> Make sure that you have [downloaded](https://go.dev/dl/) and installed **Go**. Version 1.22 or higher is required.
```bash
git clone https://github.com/marsskop/lightkeytool.git
cd lightkeytool
go run main.go
```
## License
[](https://www.tldrlegal.com/license/mit-license)