From 378fd4b7f30406dc4e2efc8d008005febc8caf82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Tue, 18 Oct 2016 17:05:09 +0200 Subject: [PATCH] Do not set ssl_certs_dir on FreeBSD The previous directory does NOT contain certificates by default, resulting in an error when starting apache if certificates are elsewhere: ~~~ [Tue Oct 18 16:34:17.074516 2016] [ssl:emerg] [pid 57102:tid 34397585408] AH01896: Unable to determine list of acceptable CA certificates for client authentication ~~~ While here, sync the README which was outdated. --- README.md | 2 +- manifests/params.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3e36448770..10d6081c7f 100644 --- a/README.md +++ b/README.md @@ -3678,7 +3678,7 @@ Specifies the location of the SSL certification directory. Default: Depends on t - **Debian:** '/etc/ssl/certs' - **Red Hat:** '/etc/pki/tls/certs' -- **FreeBSD:** '/usr/local/etc/apache22' +- **FreeBSD:** undef - **Gentoo:** '/etc/ssl/apache2' ##### `ssl_chain` diff --git a/manifests/params.pp b/manifests/params.pp index 613cb8c8c0..1f9f60a806 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -355,7 +355,7 @@ $dev_packages = undef $default_ssl_cert = '/usr/local/etc/apache24/server.crt' $default_ssl_key = '/usr/local/etc/apache24/server.key' - $ssl_certs_dir = '/usr/local/etc/apache24' + $ssl_certs_dir = undef $passenger_conf_file = 'passenger.conf' $passenger_conf_package_file = undef $passenger_root = '/usr/local/lib/ruby/gems/2.0/gems/passenger-4.0.58'