schubergphilis / chef-acme

Chef cookbook to request SSL certificates at Let's Encrypt
Apache License 2.0
112 stars 74 forks source link

certificat not renewed #109

Closed lumy closed 5 years ago

lumy commented 5 years ago

Hello,

My chef-client is configured to run every 30min. After a run (myself or automatic), I got no error but my certificate hasn't been renew. There's is the output of chef-client

 * acme_certificate[www] action create
    * file[www.****** SSL key] action create_if_missing (up to date)
    * file[www.****** SSL key] action nothing (skipped due to action :nothing)
     (up to date)
acme_certificate 'www' do
  crt          node['www']['ssl']['ssl_cert']
  key          node['www']['ssl']['ssl_key']
  chain        node['www']['ssl']['ssl_chain']
  cn           node['www']['web']['cn']
  alt_names    node['www']['web']['alt_names']
  key_size     3072 # 2048, 3072, 4096                                                                                                                                                                        
  wwwroot      node['www']['ssl']['www_root']
  contact      node['www']['ssl']['mailto']
  notifies :restart, "service[nginx]", :immediate
end

Where do I fail ? Thanks.

onlinetocode commented 4 years ago

Hey @lumy

I have the same problem with the same output. How did you resolve this?

Happens since upgrading to acme version 4.1.1 and Chef Client version 13.12.14.

Best regards!

onlinetocode commented 4 years ago

Found the solution. Selfmade problem. I tried to renew the wrong domain on my server.