Installing an SSL certificate on your Hostinger virtual private server (VPS) secures your domains and subdomains with encrypted communication. This guide covers the available free and paid SSL options for your VPS, helping you achieve a secure connection for your websites.
Before you start
-
An active Hostinger VPS plan.
-
A domain name pointed to your VPS IP address.
Install a free SSL certificate
Option 1 – Use Traefik with the Docker Catalog
If you use a Hostinger VPS Docker template, you can deploy Traefik directly from the application catalog. Traefik acts as a reverse proxy and automatically issues and renews free Let’s Encrypt SSL certificates for your containerized applications.
-
Log in to hPanel and navigate to your VPS management dashboard.
-
Go to the Docker section and open the Catalog.
-
Select Traefik and follow the on-screen prompts to deploy it.
Option 2 – Use Certbot for manual installation
If your operating system does not include a web control panel, or if you prefer a manual approach, you can use Certbot. This command-line tool automates the process of obtaining and renewing free Let’s Encrypt SSL certificates.
Option 3 – Use a VPS control panel
Many pre-installed operating system templates include built-in web control panels with automated SSL features. If you use one of these panels, refer to their dedicated setup guides:
These are just a selection of the OS panels we support. For other OS, ensure to consult your control panel’s official documentation or community forums.
Install a paid SSL certificate
You can also install a custom or paid SSL certificate, such as a wildcard SSL, on your VPS. To complete the configuration, follow the specific installation instructions provided in your SSL vendor’s official documentation.
Once your SSL certificate is successfully installed, your domain will use a secure HTTPS connection, ensuring safe data transmission for your visitors.
NOTE
- SSL certificates cannot be installed directly on IP addresses. If you log in to your VPS panel using an IP-based URL, your browser may display a Not Secure warning.
-
To resolve browser warnings, review our guide on how to fix the Your connection is not private error on VPS.