commit afd3088cee1b3beee0745686d2a51483bb22a4ac
parent 1a3e7918b24ff4ca1ade6f580fe2f696e667118d
Author: Daniel Barlow <dan@telent.net>
Date: Wed, 25 Sep 2024 21:40:01 +0100
matchng psk in example between client and expected
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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