Project

General

Profile

« Previous | Next » 

Revision 022d18f9

Added by Ivan Necas over 10 years ago

Fix setting passphrase in server.xml

View differences:

manifests/init.pp
$weburl = "https://${::fqdn}/${candlepin::deployment_url}/distributors?uuid="
$apiurl = "https://${::fqdn}/${candlepin::deployment_url}/api/distributors/"
$keystore_password_file = '/etc/katello/keystore_password-file'
$keystore_password = find_or_create_password($keystore_password_file)
include certs::params
$keystore_password_file = $::certs::params::candlepin_keystore_password_file
$keystore_password = $::certs::params::candlepin_keystore_password
if $candlepin::thumbslug_enabled {
require 'thumbslug::params'
templates/etc/tomcat/server.xml.erb
clientAuth="want" SSLProtocol="TLS"
keystoreFile="conf/keystore"
truststoreFile="conf/keystore"
keystorePass="<%= scope.lookupvar("candlepin::keystore_password_real") %>"
keystorePass="<%= scope.lookupvar("candlepin::keystore_password") %>"
keystoreType="PKCS12"
ciphers="SSL_RSA_WITH_3DES_EDE_CBC_SHA,
TLS_RSA_WITH_AES_256_CBC_SHA,

Also available in: Unified diff