How to get an SSL certificate from GoDaddy to work with a website hosted with Hostinger?

Debojyoti Ghosh
2 min readNov 9, 2019

The following information may be obvious to many; but it may help someone like myself who is new to all this. It sure would have saved me an hour of pain! If you are getting an ERR_SSL_PROTOCOL_ERROR error like me, this guide may help you.

Assumptions

  1. Your domain may be registered with anyone (GoDaddy, Hostinger or someone else); but it is hosted with Hostinger. The name servers of your domain should be pointed at Hostinger.
  2. You have an SSL certificate with GoDaddy. Doesn’t matter if it is free (with a .app domain, for example) or paid.

The actual process

  1. Go to the DNS zone editor in your Hostinger control panel. Remove all of the existing CAA records (otherwise the “re-key” request would not work).
  2. Generate and save CSR - https://csrgenerator.com/
  3. Go to your certificate settings in the GoDaddy product panel. Create a re-key request (click “Rekey & Manage”). To do so, one would need the previously saved CSR data (step 2).
  4. The request should be completed soon enough (within 5 minutes). You will also receive an email from GoDaddy informing you of the same.
    Once ready, you should be able to download your certificate from GoDaddy (click “Download” in the same certificate settings page as above). It is a .zip file that will contain a .crt file (among a couple of other files).
  5. Go to Hostinger’s control panel; add custom SSL. Add CRT & KEY values. You can get the CRT value from the .crt file (step 4). The private key value will be available in the saved CSR (step 2).
  6. Click “Install”. It should work. More importantly, you should NOT be getting any error messages. If nothing seems to happen on your screen, refresh the page. Your certificate should be visible under “List of Installed SSL” at the top of the page.
  7. Your website should now be up and running. If it still doesn’t, flush your DNS cache. On Windows open command prompt, type in ipconfig /flushdns, and press enter. For other OS, please visit Google. 😛
    Once your DNS cache is flushed, open a private window of your browser and visit your site - it should work this time!
You should be seeing something like this

That’s all. If this guide helped you, do click the ‘clap’ button. 😉 If not, post in the comments - I shall try my best to help you out.

Cheers!

--

--

Debojyoti Ghosh

Lead Software Developer at Housing / PropTiger with a passion for UI / UX development.