Skip to content

Commit

Permalink
use mkcert everywhere, document dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Oppen committed Dec 23, 2024
1 parent 3e5e20b commit 02b77ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ batcher_start: ./batcher/aligned-batcher/.env user_fund_payment_service

batcher_create_self_signed_cert:
@echo "Creating TLS certificate for localhost"
@openssl req -x509 -days 1825 -newkey rsa:2048 -keyout rootCA.key -out rootCA.crt -nodes -subj '/CN=localhost'
@mkcert -install -cert-file rootCA.crt -key-file rootCA.key localhost
@echo "TLS certificate created"

batcher_start_local: user_fund_payment_service batcher_create_self_signed_cert
Expand Down
1 change: 1 addition & 0 deletions docs/3_guides/6_setup_aligned.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Ensure you have the following installed:
- [eigenlayer-cli](https://github.com/Layr-Labs/eigenlayer-cli.git)
- [jq](https://jqlang.github.io/jq/)
- [yq](https://github.com/mikefarah/yq)
- [mkcert](https://github.com/FiloSottile/mkcert)

To
install [Go](https://go.dev/doc/install),
Expand Down

0 comments on commit 02b77ff

Please sign in to comment.