Commit Graph

22 Commits

Author SHA1 Message Date
Daniel Barlow 3aa3bacae9 fiddle with ca cert gen options
this is because s6-tlsclient refused to connect with
 Not a CA, or path length constraint violation. (BR_ERR_X509_NOT_CA)
error
2024-10-02 00:26:44 +01:00
Daniel Barlow cc3e695174 upate lusossl patch 2024-10-02 00:26:21 +01:00
Daniel Barlow 0844177d51 more text, inclding actual reasons you shouldn't use it 2024-09-29 10:20:10 +01:00
Daniel Barlow a56a9ba013 handle CSRs with no attributes 2024-09-29 10:19:07 +01:00
Daniel Barlow e4410323cf add error handler 2024-09-27 19:47:31 +01:00
Daniel Barlow d98f78db85 use https 2024-09-27 19:47:11 +01:00
Daniel Barlow 42aa1d8f0a improve method name, use ncall for server.listen 2024-09-26 22:14:45 +01:00
Daniel Barlow 9ef1947211 check io.open return 2024-09-26 22:11:37 +01:00
Daniel Barlow ba3795e3f2 bind to address provided on command line
bonus: and print an error if we couldn't
2024-09-26 22:08:29 +01:00
Daniel Barlow 32099b7541 parse command-line for options instead of hardcoding
note port is still hardcoded
2024-09-26 22:05:13 +01:00
Daniel Barlow e410cef1f4 inline not-found function 2024-09-26 21:34:37 +01:00
Daniel Barlow afd3088cee matchng psk in example between client and expected 2024-09-25 21:40:01 +01:00
Daniel Barlow 1a3e7918b2 add title 2024-09-25 21:34:27 +01:00
Daniel Barlow 27f2718ec5 remove newline 2024-09-25 21:31:04 +01:00
Daniel Barlow db96baa96b improve README 2024-09-25 21:30:55 +01:00
Daniel Barlow 20fdd0aac6 add openssl in shell environment 2024-09-25 21:17:42 +01:00
Daniel Barlow fe98a413ee implement policy-based signing
the csr will be signed iff it has a challengePassword attribute
containing a value matching the contents of the "psk" file

yeah, UX could use a little work
2024-09-25 21:14:13 +01:00
Daniel Barlow 911faaa0ef extract method send-error 2024-09-25 12:26:34 +01:00
Daniel Barlow ad29d9e100 extract method make-headers 2024-09-25 12:23:49 +01:00
Daniel Barlow ed53c967d7 improve README 2024-09-25 12:07:30 +01:00
Daniel Barlow 8a7287d552 unhardcode the certificate serial number 2024-09-25 12:00:40 +01:00
Daniel Barlow 6ddae21727 initial commit 2024-09-25 10:20:14 +01:00