diff options
Diffstat (limited to 'docs/OpenSSLSetup.txt')
-rw-r--r-- | docs/OpenSSLSetup.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/OpenSSLSetup.txt b/docs/OpenSSLSetup.txt new file mode 100644 index 00000000..4524264a --- /dev/null +++ b/docs/OpenSSLSetup.txt @@ -0,0 +1,16 @@ +------------------------------------------------------------------------- +Instructions for setting up an OpenSSL server for use with DTLSClientTest +------------------------------------------------------------------------- + +- Download and Install OpenSSL (exercise for the reader) + +- Make a working folder somewhere and copy the x509-*.pem from this package to there. + +- Go to working folder and start OpenSSL server: +TLS: + openssl s_server -accept 5556 -debug -msg -state -tls1_1 -www -CAfile x509-ca.pem -cert x509-server.pem -key x509-server-key.pem +DTLS: + openssl s_server -accept 5556 -mtu 1500 -debug -msg -state -dtls1 -CAfile x509-ca.pem -cert x509-server.pem -key x509-server-key.pem + +NOTE: This is mainly of use to test the handshake. There doesn't appear to be an 'echo server' option with DTLS, but it will print + to stdout anything you send it, and lines you type into stdin (at the server) will be sent to the client. |