Skip to content
Snippets Groups Projects
Commit 7d5f0ccb authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[TASK] Add the rootCA for internal curl calls to the HTTPS site

parent a44cc480
No related branches found
No related tags found
1 merge request!2[TASK] Add the rootCA for internal curl calls to the HTTPS site
......@@ -190,6 +190,18 @@ if node['platform_version'] == '16.04'
pattern '.*max_input_vars =.*'
line 'max_input_vars = 1500'
end
replace_or_add 'Set curl ca certificate' do
path '/etc/php/' + node['ubuntu_base']['php_version'] + '/apache2/php.ini'
pattern '.*curl.cainfo =.*'
line 'curl.cainfo = /etc/apache2/ssl/rootCA.pem'
end
replace_or_add 'Set curl ca certificate - CLI' do
path '/etc/php/' + node['ubuntu_base']['php_version'] + '/cli/php.ini'
pattern '.*curl.cainfo =.*'
line 'curl.cainfo = /etc/apache2/ssl/rootCA.pem'
end
else
replace_or_add 'Increase time limit' do
path '/etc/php5/apache2/php.ini'
......@@ -634,4 +646,4 @@ if node['typo3_site']['solr']['init']
group data_bag['groupId']
action :run
end
end
\ No newline at end of file
end
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