Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust org in certificate request. #4215

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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