- Python3
- PyCrypto (pip install pycrypto)
- PyCryptodome (pip install pycryptodome)
- cryptography (pip install cryptography)
Install all requirements
pip install -r requirements.txt
サーバ側のプログラムの起動(ポートは50007)
./main.py server
クライアント側のプログラムの開始
./main.py client
openssl で TLS 1.3 サーバ
~/local/bin/openssl s_server -accept 50007 -cert ./.ssh/server.crt -key ./.ssh/server.key -tls1_3 -state -debug
openssl で TLS 1.3 クライアント
~/local/bin/openssl s_client -connect localhost:50007 -tls1_3 -state -debug
curl で TLS 1.3 アクセス
LD_LIBRARY_PATH=$HOME/local/lib ~/local/bin/curl -v --tlsv1.3 -k https://localhost:50007/html/index.html