From cee9a8e5534967ff445b8bdb1a706bce0912c669 Mon Sep 17 00:00:00 2001 From: Alexey Michurin Date: Fri, 15 Feb 2019 00:38:10 +0300 Subject: [PATCH] README.md - minor cosmetics (#1693) --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7b63466d..08529d1e 100644 --- a/README.md +++ b/README.md @@ -160,16 +160,23 @@ Need a bit of security? Use SSL sockets: ``` $ puma -b 'ssl://127.0.0.1:9292?key=path_to_key&cert=path_to_cert' ``` + #### Controlling SSL Cipher Suites -Need to use or avoid specific SSL cipher suites? Use ssl_cipher_filter or ssl_cipher_list options. -#####Ruby: + +Need to use or avoid specific SSL cipher suites? Use `ssl_cipher_filter` or `ssl_cipher_list` options. + +##### Ruby: + ``` $ puma -b 'ssl://127.0.0.1:9292?key=path_to_key&cert=path_to_cert&ssl_cipher_filter=!aNULL:AES+SHA' ``` -#####JRuby: + +##### JRuby: + ``` $ puma -b 'ssl://127.0.0.1:9292?keystore=path_to_keystore&keystore-pass=keystore_password&ssl_cipher_list=TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA' ``` + See https://www.openssl.org/docs/man1.0.2/apps/ciphers.html for cipher filter format and full list of cipher suites. ### Control/Status Server