Skip to content

Commit

Permalink
Adjust org in certificate request.
Browse files Browse the repository at this point in the history
  • Loading branch information
toregge committed Oct 7, 2024
1 parent 86497e9 commit 1e8ca99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ssl_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 1e8ca99

Please sign in to comment.