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.
forest
7ea8d2b519
|
2 years ago | |
---|---|---|
.gitignore | 4 years ago | |
LICENSE.md | 3 years ago | |
ReadMe.md | 2 years ago | |
certificates.png | 4 years ago | |
go.mod | 3 years ago | |
go.sum | 3 years ago | |
main.go | 3 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