Skip to content
Snippets Groups Projects
Commit c36ed5da authored by Magnus Toneby's avatar Magnus Toneby
Browse files

create some certificates

parent f70bebad
No related branches found
No related tags found
2 merge requests!4Test->production,!3Devel->Test
Pipeline #129812 passed
......@@ -6,6 +6,17 @@ class folioscripts::foliofront {
$basedir='/opt/liu/foliofront'
exec { 'create private key for':
creates => 'privatekey.pem',
command => '/bin/openssl genrsa -out privatekey.pem 2048',
}
exec { 'create private key for':
creates => 'saml-cert.pem',
command => '/bin/openssl req -new -x509 -key privatekey.pem -out saml-cert.pem -days 3650',
require => [Exec['create private key for'],],
}
package { ['nodejs','nano']:
ensure => 'installed',
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment