Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gromnitsky/dummy-root-ca
Root CA & tls certificates generator with simple GUI
https://github.com/gromnitsky/dummy-root-ca
Last synced: about 6 hours ago
JSON representation
Root CA & tls certificates generator with simple GUI
- Host: GitHub
- URL: https://github.com/gromnitsky/dummy-root-ca
- Owner: gromnitsky
- Created: 2022-06-16T03:55:24.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-06-27T08:07:23.000Z (over 2 years ago)
- Last Synced: 2023-04-10T15:02:40.728Z (over 1 year ago)
- Language: C
- Size: 2.49 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dummy-root-ca
Generate a local root CA with server certificates for a development,
local-only web server.![screenshot](ss.w8.adwaita.png)
## Linux
Run `dummy-root-ca.mk` (requires Make & openssl). If your hostname is
`foobar.lan`, it generates 4 files:root.pem root.crt foobar.lan.pem foobar.lan.crt
If you are in Fedora:
# cp root.crt /etc/pki/ca-trust/source/anchors
# update-ca-trustthen restart Chrome.
Test:
$ ruby -run -e httpd . --ssl-private-key foobar.lan.pem --ssl-certificate foobar.lan.crt
## Windows
Download `dummy-root-ca-X.Y.Z.zip` from github *Releases* page,
unpack, run `bin/dummy-root-ca`.To add a generated `root.crt`, click on in Explorer, then follow the
instructions for adding the cert:* for the current user;
* into *Trusted Root Certification Authorities* (this is important);
don't select the automatic detection option.To check if the cert was added:
1. type `certmgr` in powershell;
2. select in menu *Action->Find Certificates...*, enter `dummy` as a
search term.Firefox uses its own cert store, but if you set
`security.enterprise_roots.enabled` in `about:config` to true, it'll
check the Windows cert store too.## License
MIT.