Skip to content

Commit

Permalink
[CI] OpenSSL 3.0 - Fix error message in test_verify_fail_if_client_un…
Browse files Browse the repository at this point in the history
…known_ca (puma#2760)
  • Loading branch information
lucaskanashiro authored and JuanitoFatas committed Sep 9, 2022
1 parent d4f000c commit 204834d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_puma_server_ssl.rb
Expand Up @@ -303,7 +303,7 @@ def test_verify_fail_if_no_client_cert
end

def test_verify_fail_if_client_unknown_ca
assert_ssl_client_error_match('self signed certificate in certificate chain', '/DC=net/DC=puma/CN=CAU') do |http|
assert_ssl_client_error_match(/self[- ]signed certificate in certificate chain/, '/DC=net/DC=puma/CN=CAU') do |http|
key = "#{CERT_PATH}/client_unknown.key"
crt = "#{CERT_PATH}/client_unknown.crt"
http.key = OpenSSL::PKey::RSA.new File.read(key)
Expand Down

0 comments on commit 204834d

Please sign in to comment.