Skip to content
Snippets Groups Projects
Commit 71e3e49c authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[TASK] Cleanup

parent f11c9391
No related branches found
No related tags found
No related merge requests found
......@@ -242,47 +242,31 @@ end
# Instructions are from here: https://stackoverflow.com/questions/7580508/getting-chrome-to-accept-self-signed-localhost-certificate/43666288#43666288
template '/etc/apache2/ssl/v3.ext' do
source 'v3.ext'
owner 'vagrant'
group data_bag['groupId']
end
template '/etc/apache2/ssl/create_certificate_for_domain.sh' do
source 'create_certificate_for_domain.sh'
owner 'vagrant'
group data_bag['groupId']
end
# not needed (globally used, but maybe someone else needs this)
# template 'create_root_cert_and_key.sh' do
# source 'create_root_cert_and_key.sh'
# owner 'vagrant'
# group data_bag['groupId']
# end
template '/etc/apache2/ssl/rootCA.key' do
source 'rootCA.key'
owner 'vagrant'
group data_bag['groupId']
end
template '/etc/apache2/ssl/rootCA.pem' do
source 'rootCA.pem'
owner 'vagrant'
group data_bag['groupId']
end
template '/etc/apache2/ssl/rootCA.srl' do
source 'rootCA.srl'
owner 'vagrant'
group data_bag['groupId']
end
bash 'Create Certificate' do
cwd '/etc/apache2/ssl/'
user 'vagrant'
group data_bag['groupId']
code <<-EOF
chmod 755 create_certificate_for_domain.sh
./create_certificate_for_domain.sh #{node['typo3_site']['hostname']}
......
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