mirror of
https://github.com/inspec/inspec
synced 2024-12-18 17:14:33 +00:00
97a258ae69
Signed-off-by: Miah Johnson <miah@chia-pet.org>
15 lines
276 B
Ruby
15 lines
276 B
Ruby
if node["platform_family"] != "windows"
|
|
|
|
openssl_x509_certificate "/tmp/mycert.pem" do
|
|
common_name "www.f00bar.com"
|
|
org "Foo Bar"
|
|
org_unit "Lab"
|
|
country "US"
|
|
expire 360
|
|
end
|
|
|
|
openssl_rsa_private_key "/tmp/server.key" do
|
|
key_length 2048
|
|
end
|
|
|
|
end
|