From be5d3de002c4370333fac5202a9d069d929d2a7d Mon Sep 17 00:00:00 2001 From: Patrik Ragnarsson Date: Sat, 6 Nov 2021 12:36:39 +0100 Subject: [PATCH] Use correct paths in test/config/ssl_config.rb (#2750) Make `puma -C test/config/ssl_config.rb` works out-of-the-box. Looks like tests haven't complained because `test_ssl_configuration_from_DSL` doesn't actually start Puma. --- test/config/ssl_config.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/config/ssl_config.rb b/test/config/ssl_config.rb index c6b866ffed..8721c42e3f 100644 --- a/test/config/ssl_config.rb +++ b/test/config/ssl_config.rb @@ -1,6 +1,6 @@ -key = File.expand_path "../../examples/puma/puma_keypair.pem", __FILE__ -cert = File.expand_path "../../examples/puma/cert_puma.pem", __FILE__ -ca = File.expand_path "../../examples/puma/client-certs/ca.crt", __FILE__ +key = File.expand_path "../../../examples/puma/puma_keypair.pem", __FILE__ +cert = File.expand_path "../../../examples/puma/cert_puma.pem", __FILE__ +ca = File.expand_path "../../../examples/puma/client-certs/ca.crt", __FILE__ ssl_bind "0.0.0.0", 9292, :cert => cert, :key => key, :verify_mode => "peer", :ca => ca