9 lines
265 B
Ruby
9 lines
265 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :self_signed_x509_certificate, class: X509Certificate do
|
|
pem { OpenSSL::X509::Certificate.new.to_pem }
|
|
not_before { Faker::Time.backward.utc }
|
|
not_after { Faker::Time.forward.utc }
|
|
end
|
|
end
|