-
Error executing action `create` on resource 'acme_certificate[staging]'카테고리 없음 2020. 12. 9. 11:24
#에러메시지
Error executing action `create` on resource 'acme_certificate[staging]'
vi /opt/gitlab/embedded/cookbooks/letsencrypt/resources/certificate.rb
# 주석처리
# acme_certificate 'staging' do
# alt_names new_resource.alt_names unless new_resource.alt_names.empty?
# key_size new_resource.key_size unless new_resource.key_size.nil?
# group new_resource.group unless new_resource.group.nil?
# owner new_resource.owner unless new_resource.owner.nil?
# chain "#{new_resource.chain}-staging" unless new_resource.chain.nil?
# contact contact_info
# crt "#{new_resource.crt}-staging"
# cn new_resource.cn
# key "#{new_resource.key}-staging"
# dir 'https://acme-staging-v02.api.letsencrypt.org/directory'
# wwwroot new_resource.wwwroot
# sensitive true
# end
#
# ruby_block 'reset private key' do
# block do
# node.normal['acme']['private_key'] = nil
# end
# end
#
# acme_certificate 'production' do
# alt_names new_resource.alt_names unless new_resource.alt_names.empty?
# key_size new_resource.key_size unless new_resource.key_size.nil?
# group new_resource.group unless new_resource.group.nil?
# owner new_resource.owner unless new_resource.owner.nil?
# chain new_resource.chain unless new_resource.chain.nil?
# contact contact_info
# crt new_resource.crt
# cn new_resource.cn
# key new_resource.key
# wwwroot new_resource.wwwroot
# notifies :run, 'execute[reload nginx]'
# sensitive true
# end