Skip to content

Commit df7f268

Browse files
committed
chore: simplify cert generation
1 parent 8bfed10 commit df7f268

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

flake.nix

+1-4
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@
3636
echo "Generating TLS certificates for localhost..."
3737
cd certs
3838
mkcert -install >/dev/null 2>&1
39-
mkcert localhost 127.0.0.1
40-
# Rename files to standard key/cert naming
41-
mv localhost+1-key.pem localhost-key.pem
42-
mv localhost+1.pem localhost.pem
39+
mkcert --cert-file localhost.pem --key-file localhost-key.pem localhost 127.0.0.1
4340
cd ..
4441
echo "✅ TLS certificates generated!"
4542
else

0 commit comments

Comments
 (0)