https://github.com/javascriptdude/generate_pfx
CLI Python script to generate pfx files for supplied private key and certificate
https://github.com/javascriptdude/generate_pfx
Last synced: about 1 month ago
JSON representation
CLI Python script to generate pfx files for supplied private key and certificate
- Host: GitHub
- URL: https://github.com/javascriptdude/generate_pfx
- Owner: JavaScriptDude
- License: mit
- Created: 2018-11-15T04:16:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-24T03:47:52.000Z (about 4 years ago)
- Last Synced: 2025-02-12T07:54:36.534Z (3 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# generate_pfx
CLI Python script to generate pfx files for supplied private key and certificate## Usage:
```text
Usage: python3 ./generate_pfx [-h] [-d] [-C] -p -c [-o ]Parameters:
--privkey (-p) path/to/priv_key.pem path to private key
--cert (-c) path/to/cert.pem path to certificate
--output (-o) path/to/key.pfx default to cert.pfx located in same directory as --cert
--help (-h) Prints cli usage
--dryrun (-d) Will run all code except writing of pfx
--clobber (-C) Overwrite pfx if already existing
```
Important: set an environment variable PKCS_PASSWORD to the password you want eg:```export PKCS_PASSWORD=_foobar_```