{"action":"created","issue":{"url":"https://api.github.com/repos/dmp1ce/nginx-proxy-letsencrypt/issues/4","labels_url":"https://api.github.com/repos/dmp1ce/nginx-proxy-letsencrypt/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/dmp1ce/nginx-proxy-letsencrypt/issues/4/comments","events_url":"https://api.github.com/repos/dmp1ce/nginx-proxy-letsencrypt/issues/4/events","html_url":"https://github.com/dmp1ce/nginx-proxy-letsencrypt/issues/4","id":118924538,"number":4,"title":"certificates renewal","user":{"login":"hadim","id":528003,"avatar_url":"https://avatars.githubusercontent.com/u/528003?v=3","gravatar_id":"","url":"https://api.github.com/users/hadim","html_url":"https://github.com/hadim","followers_url":"https://api.github.com/users/hadim/followers","following_url":"https://api.github.com/users/hadim/following{/other_user}","gists_url":"https://api.github.com/users/hadim/gists{/gist_id}","starred_url":"https://api.github.com/users/hadim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadim/subscriptions","organizations_url":"https://api.github.com/users/hadim/orgs","repos_url":"https://api.github.com/users/hadim/repos","events_url":"https://api.github.com/users/hadim/events{/privacy}","received_events_url":"https://api.github.com/users/hadim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-25T21:10:19Z","updated_at":"2015-11-26T00:14:11Z","closed_at":null,"body":"What happen when a certificate expire ? Is there is a way to automatically renew it ?"},"comment":{"url":"https://api.github.com/repos/dmp1ce/nginx-proxy-letsencrypt/issues/comments/159763688","html_url":"https://github.com/dmp1ce/nginx-proxy-letsencrypt/issues/4#issuecomment-159763688","issue_url":"https://api.github.com/repos/dmp1ce/nginx-proxy-letsencrypt/issues/4","id":159763688,"user":{"login":"dmp1ce","id":58784,"avatar_url":"https://avatars.githubusercontent.com/u/58784?v=3","gravatar_id":"","url":"https://api.github.com/users/dmp1ce","html_url":"https://github.com/dmp1ce","followers_url":"https://api.github.com/users/dmp1ce/followers","following_url":"https://api.github.com/users/dmp1ce/following{/other_user}","gists_url":"https://api.github.com/users/dmp1ce/gists{/gist_id}","starred_url":"https://api.github.com/users/dmp1ce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmp1ce/subscriptions","organizations_url":"https://api.github.com/users/dmp1ce/orgs","repos_url":"https://api.github.com/users/dmp1ce/repos","events_url":"https://api.github.com/users/dmp1ce/events{/privacy}","received_events_url":"https://api.github.com/users/dmp1ce/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T00:14:11Z","updated_at":"2015-11-26T00:14:11Z","body":"I'm pretty sure the certificate is checked for renewal every hour. If the certificate is within the default threshold set by simp_le then simp_le will ask Let's Encrypt for another certificate. I haven't tested it but that is the way it is intended to work.\r\n\r\nOne way to test the functinality is to set the simp_le certificate expire to something that will cause it to request a new certificate every hour or less.\r\n\r\nI have verified from the docker logs that simp_le is checking the certificate to see if it has expired."}}