commit 7fb8e1142ca6bcb9bf6be532396dac7f701965bb parent 3aa3bacae92b7beb9caf679479860a2d940e1c92 Author: Daniel Barlow <dan@telent.net> Date: Wed, 2 Oct 2024 00:28:12 +0100 curl with our custom ca cert Diffstat:
| M | README.md | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md @@ -48,7 +48,7 @@ CN=rotuer openssl req -config openssl.cnf -newkey rsa:2048 -nodes -keyout client # build and start the server nix-build && result/bin/certifix --challenge-password psk --ca-certificate ca.crt --ca-private-key --server-certificate server.crt --server-private-key server.key localhost:19613 # send it -curl -v -H 'content-type: application/x-pem-file' --data-binary @client.csr https://localhost:19613/sign +curl --cacert ca.crt -v -H 'content-type: application/x-pem-file' --data-binary @client.csr https://localhost:19613/sign ``` ## Reasons this is not secure