Skip to content

Commit

Permalink
Do not set ssl_certs_dir on FreeBSD
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
smortex committed Oct 18, 2016
1 parent cf2ff7e commit 378fd4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 378fd4b

Please sign in to comment.