Sha256: b6254394d417de10d771542ed97111a4c3a6bcc0f28683f5eedeb44e157b9c89
Contents?: true
Size: 405 Bytes
Versions: 22
Compression:
Stored size: 405 Bytes
Contents
class freighthop::web::ssl( $server_name, $ssl_cert_path, $ssl_key_path, ){ $cert_subject = "/C=US/ST=IL/L=Chicago/O=Freighthop/CN=${server_name}" exec { 'generate-self-signed-ssl-cert': command => "openssl req -x509 -nodes -days 3650 -subj '${cert_subject}' -newkey rsa:1024 -keyout ${ssl_key_path} -out ${ssl_cert_path}", path => ['/usr/bin'], creates => $ssl_cert_path, } }
Version data entries
22 entries across 11 versions & 1 rubygems