Installing SSL Certificates to Hostinger cpanel: Automation Userscript

IMPORTANT NOTE (2020-03-31): Hostinger cpanel’s UI has changed and this script is no longer working. I do not plan to update this script anymore.

30 June 2017

When something could be automated, it will be automated!

After successfully issuing SSL certificates via Let’s Encrypt at Hostinger shared hosting account (steps here), I need to manually install them at Hostinger’s cpanel.

(a very short update)

So today I received an e-mail notifications from Let’s Encrypt service stating that my SSL will expire in 19 days. I believe they will send more emails in the upcoming days, but since I have some free time, I went ahead to go and renew my SSL certificates. Everything went smoothly, but then I kind of forgot which file to copy to which field in IDHostinger’s control panel. I am now really grateful that I had written a tutorial about it in my blog >.< (and apparently it has helped a lot of others too, as it was now my blog post with most views (after my home page) and even a staff from Hostinger contacted me stating that they created their tutorial (which has much better screenshots & styles) based on my blog post. :) :) :)

Enabling free SSL on Hostinger shared hosting

28 July 2016

When there is a will, there is a way!

Free SSL certificates, issued by Let’s Encrypt, have been around for quite a while. Enabling it on a shared hosting is an issue, since users cannot execute any executables (or very limited set of commands) on it.

I’ve been using premium shared hosting service from Hostinger Indonesia for few years now to host my personal website ( Here are the steps required to enable Let’s Encrypt SSL on Hostinger shared hosting.