tlstun

simple go program to add tls support to other listeners
git clone https://git.parazyd.org/tlstun
Log | Files | Refs | README | LICENSE

tls-gen-selfsign-cert.sh (160B)


      1 #!/bin/sh
      2 keyfile="server-key.pem"
      3 certfile="server.pem"
      4 
      5 openssl genrsa -out "$keyfile" 4096
      6 openssl req -new -x509 -key "$keyfile" -out "$certfile" -days 365