diff --git a/examples/x509_cert.pp b/examples/x509_cert.pp index a60ec44..f1c15c8 100644 --- a/examples/x509_cert.pp +++ b/examples/x509_cert.pp @@ -6,4 +6,6 @@ base_dir => '/tmp', owner => 'nobody', password => 'mahje1Qu', + # This is just to speed up CI - use 2048 or more in production + key_size => 1024, } diff --git a/spec/acceptance/x509_cert_spec.rb b/spec/acceptance/x509_cert_spec.rb index 6992f34..8f98f3a 100644 --- a/spec/acceptance/x509_cert_spec.rb +++ b/spec/acceptance/x509_cert_spec.rb @@ -15,7 +15,7 @@ it { is_expected.to be_certificate } it { is_expected.to be_valid } its(:subject) { is_expected.to match_without_whitespace(%r{C = CH, O = Example.com, CN = foo.example.com}) } - its(:keylength) { is_expected.to eq 3072 } + its(:keylength) { is_expected.to eq 1024 } end it { expect(file('/tmp/foo.example.com.key')).to be_file.and(have_attributes(owner: 'nobody', mode: '600')) }