Did you use Forge's Let's Encrypt option? If so, forge runs the job on its own to renew the cert.
Aug 8, 2016
5
Level 3
SSL renew job not working
I set up Let's Encrypt on my server with Forge and created a scheduled job to renew the certificate (with the code I got when I set up SSL).
So the job should run monthly and looks like this: curl -X POST https://forge.laravel.com/api/servers/xxxx/sites/xxxx/ssl/renew?api_token=xxxxxxxxxxxxxxxx.
But when I check the log in the job it says: "502 Bad Gateway", so it's not working.
The certificate ran out for my site so I connected to the server with SSH and ran the same command and it worked fine, renewed the certificate.
Any idea why the scheduled job is not able to run it?
Please or to participate in this conversation.