Skip to content

Commit

Permalink
test: fix missing CN in pebble certs
Browse files Browse the repository at this point in the history
  • Loading branch information
genaumann committed Oct 13, 2024
1 parent 3e38364 commit d98034d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/default/controls/cert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

describe x509_certificate("#{dir}/fullchain.cer") do
it { should be_certificate }
its('subject.CN') { should eq cn }
its('keylength') { should eq conf['keylength'] }
its('subject_alt_names') { should include "DNS:#{cn}" }
if conf['alias']
its('subject_alt_names') { should include "DNS:#{conf['alias']}" }
end
Expand Down

0 comments on commit d98034d

Please sign in to comment.