mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
6f8c677bf6
commit
281baf4218
1 changed files with 1 additions and 3 deletions
|
@ -36,9 +36,7 @@ describe "OpenSSL defaults" do
|
|||
# https://github.com/jordansissel/ruby-flores/blob/master/spec/flores/pki_integration_spec.rb
|
||||
# since these helpers were created to fix this particular issue
|
||||
let(:csr) { Flores::PKI::CertificateSigningRequest.new }
|
||||
# Here, I use a 1024-bit key for faster tests.
|
||||
# Please do not use such small keys in production.
|
||||
let(:key_bits) { 1024 }
|
||||
let(:key_bits) { 2048 }
|
||||
let(:key) { OpenSSL::PKey::RSA.generate(key_bits, 65537) }
|
||||
let(:certificate_duration) { Flores::Random.number(1..86400) }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue