You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| .gitignore | 5 years ago | |
| LICENSE.md | 4 years ago | |
| ReadMe.md | 3 years ago | |
| certificates.png | 5 years ago | |
| go.mod | 4 years ago | |
| go.sum | 4 years ago | |
| main.go | 4 years ago | |
ReadMe.md
make-fake-cert
Usecase 1: Generating certificates for use with threshold 🏔️🛤️🏔
- 1st argument: domain name for server
- 2nd argument: client ID
./make-fake-cert myserver.com myclient
Note this will only work for a single client/server pair, if you want multiple clients or servers you might have to edit the code.
Usecase 2: MITM attacking yourself or using a self signed cert in Firefox
go run main.go example.com
then in firefox go to about:preferences
search for "certificate"
then click View Certificates... and click Import, then select the file named like example.com_CA.crt
