18 lines
302 B
Bash
18 lines
302 B
Bash
|
#!/bin/sh
|
||
|
PATH=/boringssl/build/tool:$PATH
|
||
|
set -x
|
||
|
|
||
|
# RSA
|
||
|
bssl server \
|
||
|
-key rsa.pem \
|
||
|
-min-version tls1.2 -max-version tls1.3 \
|
||
|
-accept 1443 -loop -www 2>&1 &
|
||
|
|
||
|
# ECDSA
|
||
|
bssl server \
|
||
|
-key ecdsa.pem \
|
||
|
-min-version tls1.2 -max-version tls1.3 \
|
||
|
-accept 2443 -loop -www 2>&1 &
|
||
|
|
||
|
wait
|