Skip to content

Commit 02b77ff

Browse files
committed
use mkcert everywhere, document dep
1 parent 3e5e20b commit 02b77ff

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ batcher_start: ./batcher/aligned-batcher/.env user_fund_payment_service
306306

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

312312
batcher_start_local: user_fund_payment_service batcher_create_self_signed_cert

docs/3_guides/6_setup_aligned.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Ensure you have the following installed:
1212
- [eigenlayer-cli](https://github.com/Layr-Labs/eigenlayer-cli.git)
1313
- [jq](https://jqlang.github.io/jq/)
1414
- [yq](https://github.com/mikefarah/yq)
15+
- [mkcert](https://github.com/FiloSottile/mkcert)
1516

1617
To
1718
install [Go](https://go.dev/doc/install),

0 commit comments

Comments
 (0)