Create p12
This commit is contained in:
parent
67b74b19ea
commit
a718ef0d9e
1 changed files with 7 additions and 0 deletions
|
@ -9,6 +9,13 @@ class eid::idm_app (
|
|||
mode => '0755',
|
||||
}
|
||||
|
||||
# Unwanted password - but hey Java!
|
||||
$pass = 'qwerty123'
|
||||
exec { "${facts['networking']['fqdn']}_infra.p12":
|
||||
command => "openssl pkcs12 -export -in /etc/ssl/certs/${facts['networking']['fqdn']}_infra.crt -inkey /etc/ssl/private/${facts['networking']['fqdn']}_infra.pem -name 'infra' -out /etc/ssl/private/${facts['networking']['fqdn']}_infra.p12 -passout pass:${pass}",
|
||||
onlyif => "test ! -f /etc/ssl/private/${facts['networking']['fqdn']}_infra.p12"
|
||||
}
|
||||
|
||||
sunet::docker_compose { 'idm_app':
|
||||
content => template('eid/idm/docker-compose.yml.erb'),
|
||||
service_name => 'idm_app',
|
||||
|
|
Loading…
Add table
Reference in a new issue