Skip to content

Commit 4d7e939

Browse files
committed
use mkcert everywhere, document dep
1 parent 2b40276 commit 4d7e939

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
@@ -9,6 +9,7 @@ Ensure you have the following installed:
99
- [Foundry](https://book.getfoundry.sh/getting-started/installation)
1010
- [jq](https://jqlang.github.io/jq/)
1111
- [yq](https://github.com/mikefarah/yq)
12+
- [mkcert](https://github.com/FiloSottile/mkcert)
1213

1314
After installing foundryup, you need to install a specific Foundry version:
1415

0 commit comments

Comments
 (0)