Sometimes you just need a https+basicauth file server.
- run
./make-cert
, provide.
for all fields exceptcommon name
- common name can be localhost, some ip, or the domain you are requesting via. - build with
./build
- export required env vars and run with
./serve
- provide the
server.crt
to the client. Request with curl --cacert server.crt https://uname:pass@yourcommonname/file/path