Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.42 KB

README.md

File metadata and controls

33 lines (27 loc) · 1.42 KB

Easily convert PEM files to Java Keystore

Build Status Go Report Card GoDoc license

Installation

go get github.com/jimmidyson/pemtokeystore/cmd/pemtokeystore

Usage

Usage of pemtokeystore:
  -ca-file path
        PEM-encoded CA certificate file path(s) - repeat for multiple files
  -cert-file alias=path
        PEM-encoded certificate file(s) in the format alias=path - repeat for multiple files
  -key-file alias=path
        PEM-encoded private key file(s) in the format alias=path - repeat for multiple files
  -keystore path
        path to keystore
  -keystore-password password
        keystore password

Example

$ pemtokeystore -keystore my.ks -keystore-password changeit \
                -ca-file ca-root.pem -ca-file ca-signer.pem \
                -cert-file myserver=server.pem -key-file myserver=key.pem

License

This project is Apache Licensed