From afd3088cee1b3beee0745686d2a51483bb22a4ac Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Wed, 25 Sep 2024 21:40:01 +0100 Subject: [PATCH] matchng psk in example between client and expected --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0991ca4..7f975ea 100644 --- a/README.md +++ b/README.md @@ -31,14 +31,14 @@ luaossl module ``` # pick a PSK -echo 'urban cookie collective' > psk +echo 'loves labours lost' > psk chmod 0700 psk -# create CA key and cert +# create CA key and cert used for signing openssl genrsa -out ca.key 4096 CN=CA openssl req -config openssl.cnf -x509 -new -nodes -key ca.key -sha256 -days 3650 -out ca.crt -# create client CSR +# create example client CSR for testing (check openssl.cnf against "psk" file) CN=rotuer openssl req -config openssl.cnf -newkey rsa:2048 -nodes -keyout client.key -out client.csr # start the server