From 1e8ca99465b48d1ebc1d25655b7f9666a60ac90b Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Mon, 7 Oct 2024 15:39:48 +0200 Subject: [PATCH] Adjust org in certificate request. --- lib/ssl_config.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ssl_config.rb b/lib/ssl_config.rb index a1c15fef8..f8ed899e9 100644 --- a/lib/ssl_config.rb +++ b/lib/ssl_config.rb @@ -112,7 +112,7 @@ def generate_ca_private_key def self_sign_root_ca_certificate_for(this_host) run_or_fail("openssl req -new -x509 -nodes -key #{@ca_private_key} " + "-sha256 -out #{@ca_cert} " + - "-subj '/C=NO/L=Trondheim/O=Yahoo, Inc/OU=Vespa system test dummy CA root/CN=#{this_host}' " + + "-subj '/C=NO/L=Trondheim/O=Vespa.ai AS/OU=Vespa system test dummy CA root/CN=#{this_host}' " + "-days 720") end @@ -134,7 +134,7 @@ def generate_host_specific_csr_for(this_host) "DNS.2 = #{this_host}\n") end run_or_fail("openssl req -new -key #{@host_private_key} -out #{@host_csr} " + - "-subj '/C=NO/L=Trondheim/O=Yahoo, Inc/OU=Vespa system testing/CN=#{this_host}' " + + "-subj '/C=NO/L=Trondheim/O=Vespa.ai AS/OU=Vespa system testing/CN=#{this_host}' " + "-sha256") end