cPanel Cron job

Joomla/cPanel Cron job on an SSL site – Akeeba Backup and Others –no-check-certificate

So,

You are having problems settings cron job on a website where SSL is enabled. Here is a quick fix.

A normal cron job… specifically wget will get you the following error.

--2015-01-30 14:50:01--  http://www.yourwebsite.com/backupscript.php
Resolving www.yourwebsite.com... 00.00.00.00, 00.00.00.00
Connecting to www.yourwebsite.com|00.00.00.00|:443... connected.
ERROR: cannot verify www.yourwebsite.com’s certificate, issued by “/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO RSA Extended Validation Secure Server CA” (the name here will vary based on your SSL provider):
  Unable to locally verify the issuer’s authority.



Simply add ‘–no-check-certificate’ after the wget and before you URL and you are good to go.

Sample SSL command can be

/usr/bin/wget –no-check-certificate –max-redirect=10000 http://www.yourwebsite.com/backupscript.php


Scroll to Top
I’ve had the great pleasure of hiring JoomDev for several projects over 8 years. The team brought our ideas to life and created the customized application that we only imagined in our minds. We appreciate JoomDev “can do” attitude and co-operation to complete any task until being fully satisfied. Hire JoomDev, you’d be crazy not to!
photo-alex
Alex Shvarts
Fundkite

Contact Sales