How to quickly deploy and run SSL/TLS server for testing?
Solution
- You need first key and certificate. There are many guides on Internet how to generate these with the help of openssl (example http://www.akadia.com/services/ssh_test_certificate.html).
- Use openssl s_server to run start the server and customize the supported ciphers
openssl s_server -accept 443 -key ./server.key -cert server.crt -state -debug openssl s_server -accept 443 -key ./server.key -cert server.crt -state -debug -tls1 openssl s_server -accept 443 -key ./server.key -cert server.crt -state -debug -ssl3 openssl s_server -accept 443 -key ./server.key -cert server.crt -state -debug -cipher DES-CBC-SHA:AES256-SHA
No comments:
Post a Comment