8000 Fix certificate authority name clobbering server certificate. · socketry/async-rspec@ced78e1 · GitHub
[go: up one dir, main page]

Skip to content

Commit ced78e1

Browse files
committed
Fix certificate authority name clobbering server certificate.
1 parent 4e4c2e5 commit ced78e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/async/rspec/ssl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module HostCertificates
4242
::RSpec.shared_context SSL::CertificateAuthority do
4343
# This key size is generally considered insecure, but it's fine for testing.
4444
let(:certificate_authority_key) {OpenSSL::PKey::RSA.new(1024)}
45-
let(:certificate_authority_name) {OpenSSL::X509::Name.parse("O=Test/CN=localhost")}
45+
let(:certificate_authority_name) {OpenSSL::X509::Name.parse("O=TestCA/CN=localhost")}
4646

4747
# The certificate authority is used for signing and validating the certificate which is used for communciation:
4848
let(:certificate_authority) do

0 commit comments

Comments
 (0)
0