github.com/Psiphon-Labs/tls-tris@v0.0.0-20230824155421-58bf6d336a9a/_dev/boring/server.sh (about) 1 #!/bin/sh 2 PATH=/boringssl/build/tool:$PATH 3 set -x 4 5 # RSA 6 bssl server \ 7 -key rsa.pem \ 8 -min-version tls1.2 -max-version tls1.3 \ 9 -accept 1443 -loop -www 2>&1 & 10 11 # ECDSA 12 bssl server \ 13 -key ecdsa.pem \ 14 -min-version tls1.2 -max-version tls1.3 \ 15 -accept 2443 -loop -www 2>&1 & 16 17 # Require client authentication (with ECDSA) 18 bssl server \ 19 -key ecdsa.pem \ 20 -min-version tls1.2 -max-version tls1.3 \ 21 -accept 6443 -loop -www \ 22 -require-any-client-cert -debug 2>&1 & 23 24 wait