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


Naveen
Naveen is a versatile professional with expertise in Product Management, Marketing, QA, and Client Management. He brings a strategic approach to his work, combining technical insights with creative problem-solving to drive impactful outcomes. Outside of work, Naveen enjoys writing poetry and traveling, finding inspiration in words, cultures, and new experiences.