Answered by the Webhosting Experts
Tags +

Firewall Services
at Hivelocity

Keep Bad Actors Out
Whether you’re worried over outside attacks, unauthorized access, or maintaining regulatory compliance, Hivelocity’s Juniper Hardware Firewalls give your server the protection it needs. Keep hackers at bay without depleting your system’s resources.

Configure your server today with one of our hardware firewalls and take back control.

Tags +

How to Purchase and Install an SSL Certificate on Ubuntu

Article by: Chris Marks

It is increasingly important to ensure that any data sent to websites is transmitted using encryption to protect visitors to the site. SSL certificates provide a method to encrypt data during transmission to the server. Any ubuntu server is capable of providing secure connections to sites hosted there by a web server such as Apache or Nginx.

Ordering the Certificate

Select the desired product as listed on:

View the different SSL options available at

Select the certificate type from the list and look for the option to request this certificate. You will be prompted to log into your account if you are not already logged in.

Selecting A Commodo instant SSL inside

Once you click buy now you will be prompted to answer a series of questions that are required to create the certificate, explained below:

Country Name:

This is the two-letter abbreviation for your country. For example, United States would be US.

State or Province Name:

This is the full name of the state your organization operates from. For example, this might be “Florida” or “Ohio”.

Locality Name:

Name of the city your organization operates from. Examples might include “Lansing” or “Phoenix”. Don’t use abbreviations in this field. For example, “St. Petersburg” should be “Saint Petersburg”

Organization Name:

The name of your organization. If you are a business, you must use your legal name. If you are applying as an individual, you use your full name instead.

Organizational Unit Name:

If applying as a business, you can enter your Business name here. Alternately, you can use a department name here. For example, “IT Department” or “Web Administration”.

Common Name:

The domain name that you are purchasing an SSL certificate for. This must be a fully qualified domain name (FQDN). In this example, this would be:


Once this information is submitted you will need to select an address to receive the authorization email that will confirm your own or control the domain you are requesting a certificate for. Please create one of the address options if they do not already exist. This will also be the email address the SSL certificate is sent to.

Choose and complete the required billing information and check the email address selected for validation. Once this is completed it’s typically just a few minutes before the SSL files are sent to the same inbox.


Uploading certificate files

The SSL files will be delivered in a compressed format many tools are available to decompress the files. If you do not already have one installed consider using 7-Zip

You will need to upload both the certificate file ending in .crt as well as any ca bundle files and the private key.

Once you have your decompressed SSL certificate files Use Filezilla for Windows or Cyberduck to place the files on your Ubuntu web server.


For more inforamtion or to download filezilla visit:

Or for Mac users that need an alternative:

Using either tool connect to your Ubuntu server In this example my Ubuntu server is responding at so I use the following when configuring a host or server to connect to;

host: sftp://

and provide your ssh user and password

You can drag the SSL files to any location displayed on your server to upload them from your local computer. In this example, we will place the SSL in the path /etc/ssl


Configuring the Web Server

There are many popular web servers available that are supported by Ubuntu. The most common are Apache and Nginx.

Nginx example

First, ensure nginx has the following options in the HTTP section of /etc/nginx/nginx.conf

http {
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;

For Nginx it is required to have all the certificates (one for your domain name and CA ones) combined in a single file. The certificate for your domain should be listed first in the file, followed by the chain of CA certificates.

If you have downloaded a complete CABundle file for your certificate, replace chain files’ names with the name of your downloaded file. COMODO_DV_SHA-256_bundle.crt is the example for PositiveSSL certificate. It will look like:


$ cat **.crt COMODO_DV_SHA-256_bundle.crt >> cert_chain.crt




$ cat **.crt **.ca-bundle >> cert_chain.crt

We will need to create and edit a new file for our new domain names SSL certificate in /etc/nginx/conf.d/. To open the file for editing run:

nano /etc/nginx/conf.d/


We will add the following information for nginx to use to access the SSL certificate:

server {
listen 443 ssl default_server;
listen [::]:443 ssl default_server ;
root /var/www/;
ssl_certificate /etc/ssl//;
ssl_certificate_key /etc/ssl//;

Once you have modified the VirtualHost file, it is required to restart Nginx in order to apply the changes. You can restart Nginx with this command:

nginx -s reload

The above examples are general recommendations. For complete details on SSL options for nginx please visit their site!


Apache2 example

If your site needs to be accessible through both secure (https) and non-secure (http) connections, you need two separate files in /etc/apache2/sites-enabled/. One file is for port 80 and the other file is for port 443.



Create a new file for your domain in /etc/apache2/sites-available using:


nano /etc/apache2/sites-available/


and include the following information:


DocumentRoot /var/www/
SSLEngine on
SSLCertificateFile /etc/ssl/
SSLCertificateChainFile /etc/ssl/cert_chain.crt

Enable the new site:


sudo a2ensite

Ensure that the SSL module is loaded:


sudo a2enmod SSL


and check the changes to apache:


Apachectl configtest


then restart apache to apply changes


/etc/init.d/apache2 restart

Full details and configuration options for apache with SSL are available at:

Should have any questions or problems during your SSL order or installation please don’t hesitate to contact our staff for advice or assistance via phone at (888) 869-4678 or via a new support ticket created in your customer portal. 




Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: [email protected] We are also available to you through our phone and live chat system 24/7/365.

Rapid Restore

Backup your entire server’s data every night and have access to 5 days of rolling restore points.  Restore your server’s data, OS and configuration any time you need it.

Our Rapid Restore service saves the day during accidental data loss, hardware failures and virus contraction. Simply pick your recovery point and restore the data from that day. 

DDoS Protection

While our competitors may advertise DDoS protection, most often, they are merely implementing easily evaded router rules or simply black-holing targeted servers. They consider this “DDoS protecting their network.” However, neither of these solutions should give comfort to any online business. Should your site be attacked, chances are likely both of these options will end with your server being taken offline. At Hivelocity, we take the responsibility of keeping your servers online very seriously. For this reason, we offer two very serious forms of DDoS protection.


Every solution we provide includes our Filtering Edge of Network System (FENS). FENS is a series of proprietary systems that proactively monitors and protects the entire Hivelocity Network from most common Denial of Service (DOS) and Distributed Denial of Service (DDoS) attacks.


For an extra fee, you can enhance your server’s protection further with the addition of our Server Defense System. Our Server Defense System sits in front of your server, inspecting inbound data and looking for malicious traffic. The moment an attack is detected, it instantly begins scrubbing each data packet. Hivelocity’s Server Defense System delivers business continuity even in the face of massive and complex attacks.

Our Server Defense System is like adding an alarm and armed guard to your business, alerting you to and destroying anything attempting to jump that fence. Our Server Defense System utilizes internally developed proprietary systems in addition to Corero’s Threat Defense Smartwalls for data packet scrubbing. Each of our data centers is a scrubbing center with Corero Smartwalls on-premise, allowing us to provide on-prem zero-lag data scrubbing.

SSL Certificates

The security of your online commerce and protecting your customers’ data is as important to us as it is to you. When your customers see the green bar, they will know their connection to you is protected. We offer single domain, multi-domain, and wild-card certificates.

We offer industry leading 128-bit encryption certificates, allowing you to conduct e-commerce with complete security. Inspire confidence in your customers by displaying any number of seals and indicators certifying that your site is secure.

Load Balancing

Adding this service to two servers with identical content will allow you to distribute your load evenly across your hardware. Don’t lose business because you couldn’t handle the demand. Load balance and handle your biggest resource spikes with ease.


Stop attacks, prevent unauthorized access, and achieve regulatory compliance. Our Juniper hardware firewalls offload the work so your server never has to consume resources protecting itself from malicious traffic. A single firewall can be used to protect multiple servers.

Cloud Storage

Cloud storage offers users redundancy and easy accessibility, ensuring your data remains secure and readily available. Scale to as much as you need for only a 20¢/GB.

Cloud Storage is distributed and replicated across many servers, protecting your data from hardware failure. Highly scalable, it can handle thousands of client connections via TCP/IP. Connect to your virtual drive with SFTP, FTP, and SSHMount and in the future NFS and AFP. Cloud Storage is based on a stackable design which is upgradeable up to 2TB per instance.