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. :) :) :)


It’s the time of year where I apply kaizen: To stop, reflect, and continuously improve.

I’m scared of the future. It seemed so uncertain and scary out there. Meanwhile, my days in university is numbered. I couldn’t start it with positivism and optimism like what I did in my 17th, where after reading it back, I laughed at myself 😃 Many things have changed but some things will not. I saw my wishes from my 18th birthday, I felt that I did fulfilled all of them already by this age: improved designing skill (check; hey, back then, my designing skill was really bad); improved public speaking (partial check; I think co-presented a presentation during international conference counts? hahaha); built personal website (check; it was a mini-resume now, with few side projects hosted on it).

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 ( From its name, I assume other Hostinger services provide a similar functionality. Here are the steps required to enable Let’s Encrypt SSL on IDHostinger shared hosting.