How to set up SSL certificate on Hostinger
Log into hPanel, go to Websites → Manage → Security → SSL, select domain/subdomain and click Install SSL for free Let's Encrypt certificate (auto-renews). For custom SSL, uninstall free one first, then Import SSL and paste certificate, private key, and CA bundle contents. Enable Force HTTPS and verify via browser padlock.
Prerequisites
- Domain added to Hostinger Web/Cloud hosting plan and DNS pointing to Hostinger nameservers
- Access to hPanel at hpanel.hostinger.com
- For custom SSL: Downloaded ZIP files with certificate.crt, private.key, and ca_bundle.crt
- Subdomains created in hPanel if needed
- Not using Hostinger Website Builder (no custom SSL support)
Step-by-Step Instructions
Verify domain setup
cdns1.main-hosting.eu and cdns2.main-hosting.eu. In hPanel, go to Domains → My domains to verify. For subdomains, navigate to Websites → Manage → Domains → Subdomains, enter name, choose directory, and click Create. This step is automatic if domain is registered with Hostinger.Log into hPanel
hpanel.hostinger.com and log in to the dashboard. From the home page, locate the Websites section listing all sites under your account.Navigate to website management
Access SSL settings
Install free SSL certificate
Uninstall existing SSL for custom certificate
Prepare custom SSL files
- Certificate: content of
domain.crtorcertificate.crt - Private Key: content of
private.key - CA Bundle: content of
ca_bundle.crtorCABUNDLE
Import custom SSL
Enable Force HTTPS
Verify installation
https://yourdomain.com and check for the padlock icon in your browser. Use tools like ZeroSSL checker for validation. Clear cache or use incognito mode if issues persist.Common Issues & Troubleshooting
SSL status stuck on 'Installing' or 'In progress'
Wait 1-2 minutes or up to 48 hours for DNS propagation; if persists, click ellipsis → Uninstall, then reinstall via Install SSL.
No padlock or 'Not secure' warning in browser
Clear browser cache/history or use incognito; disable antivirus/firewall temporarily; verify DNS points to Hostinger nameservers.
Custom SSL import fails or shows invalid certificate
Double-check pasted contents (no extra spaces); contact SSL issuer for correct files; uninstall/reinstall or use free SSL.
SSL not available for subdomain
Create subdomain first in Websites → Manage → Domains → Subdomains; ensure it's added to hosting plan.
AutoSSL fails on cPanel
In cPanel Security → SSL/TLS Status, select domain and click Run AutoSSL; wait and test HTTPS.