SSL Archives - CloudMinister

How to secure Plesk hostname on port 8443 with SSL certificate

Today in this document I will show you how to protect plesk panel from unauthorized access. Here we use SSL certificate on  plesk hostname on port 8443 at panel login.

Now  we discuss the steps for protect the plesk panel for unauthorized access:

 Step 1. Enable Let’s encrypt extension installed

Step 2. Tools & Settings > SSL/TLS Certificates & Open SSL/TLS certificate

 step 3. After selecting or installing Let’s encrypt extension

Step 4. Now we are ready to select SSL/TLS certificate go to Tools & Settings > SSL/TLS Certificates

step 5.  Then choose Let’s encrypt certificate for further

step 6. After this type your domain name and email address

 Conclusion:

 All steps are done you can check by type https://domain_name:8443

How to install free SSL certificate in Plesk panel?

 

SSL certificate is an essential part of your domain or website. It is also the most reliable sign for the visitor to visit your website. Most of the time, you need to pay to install an SSL certificate. However, you can also install a free SSL certificate within a few steps. It isn’t that tough to perform this task.

There are a few steps that you need to follow carefully to install an SSL certificate in the Plesk panel or your domain.

Here are the steps you need to follow:

Step 1-  First, go to the Plesk panel here. You will find various options on the page. In the left top corner, you will have the 1st option, “website & Domain”. Select these options, and you will appear to the various options on your screen.

 

Install Free SSL Certificate in Plesk Panel

Step 2 – Here on the new options, find the column dashboard and below security option. Under the security options, you will find the “SSL/TLS certificate” select this option

Read More:  Update Webmail Version in Plesk Panel

Step 3 –  You are almost done. To install the free SSL certificate, you have selected the SSL/TLS certificate options, and then you will appear to side notification of Let’s encrypt. This page will help you to encrypt your certificate authority CA which allows you to install SSL/TLS certificate on your domain or plex panel. Fill your email address below in the box and down their select the 1st option stating Secure the wildcard domain and press “Get it free”.

 

Install Free SSL Certificate in Plesk Panel

You don’t have to do anything as the let’s encrypt free SSL certificate will be validating until 90 days automatically. It also assists in upgrading your website or domain’s security, which also attracts more visitors.

You have successfully installed best free SSL certificate on your domain or website with full security.

How to configure Mail Server Account on Ms Outlook with SSL and without SSL?

Before configure Mail Server ID on Ms Outlook, you must configure Mail on Linux VPS Server with domain name, for this you can take the help of our document.

Prerequisite

 Domain Name

SSL certificate (for SSL)

Ms Office

Configure Ms Outlook

Open Ms outlook and click on File option on the top left corner.

Then click on the Add account option.

Click on Manually configure server settings.

Choose service i.e. Internet e-mail is used to connect SMTP with POP or IMAP server to send and receive a message.

.

Next step is to fill all the information like user, server, login.

In user information

Your name: user_name

Email Address: your_mail@your_domain.com

In sender information

Account type: IMAP or POP3

Incoming Mail Server: your_FQDN(mail.your_domain.com)

Outgoing Mail Server: your_FQDN(mail.your_domain.com)

In login information

User name: your_mail@your_domain.com

Password: your_password

After that click on More settings and in Outgoing server select the first option i.e. My outgoing server.

Also in advanced option search for cheap managed server provider port number here you will define Incoming and Outgoing port number with SSL or without SSL.

Ports

Incoming Ports for IMAP

Port 143 this is the default IMAP non- encrypted port

Port 993 this is the port you need to use if you want to connect using IMAP securely

Incoming Ports for POP3

Port 110 this is the default POP3 non-encrypted port

Port 995 this is the port you need to use if you want to connect using POP3 securely

Outgoing Ports for SMTP

Port 25 this is the default SMTP unencrypted port

Port 465 this is the port used if you want to send messages using SMTP securely

Port 2525 this port is opened on all SiteGround servers in case port 25 is filtered (by your ISP for example) and you want to send non- encrypted emails with SMTP

Configure with SSL

SSL certificate is mandatory at server end and if you don’t know how to configure then follow the document to configure Domain Name with SSL.   (https://manage.cloudminister.com/index.php?rp=/knowledgebase/98/How-to-configure-Domain-Name-with-VirtualHost-in-Centos-7-VPS-and-attach-SSL-certificate.html)

If you use IMAP then select 993 for SSL and If you use POP3 then select 995 and for SMTP use 465.

Configure without SSL

You don’t require any SSL certificate for non-encrypted configuration, here you can use IMAP with Port 143, POP3 with Port 110, SMTP 25 or 2525.

Now come back and click on test account settings and if it completed click on next otherwise search for the mistakes in the above entries.

In last click on finish and you will be able to use your account for receiving and sending mail in other networks.

 

CONCLUSION

From the above configuration you will be able to configure mail server account in outlook with SSL or without SSL.

How to install free SSL certificate on domain via terminal?

SSL

Secure Socket Layer

It is a protocol used for transmitting private documents via the internet,  it uses a cryptographic system that uses two keys to encrypt data: a public key known to everyone and a private or secret key known only to the recipient of the message.

Prerequisite

1.Domain Name registration

2.certboot software

Configure SSL

Steps to configure the Let’s Encrypt Free SSL certificate in centos7 cheap Linux VPS Server

  1. Open this URLhttps://certbot.eff.org/ and click on Get certbot  instruction options.

       2.Now select the software and VPS in which your website is running.

3. Run VPS with SSH and use sudo if you don’t have root privileges.

4.Enable EPEL repository by using the following command:

# yum install -y

https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

  1. Now after that enable the optional channel by using the following command:

      # yum -y install yum-utils

     # yum-config-manager –enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional

  1. Install certbot by using following command:

     # yum install certbot python2-certbot-apache

  1. Run this command to get a certificate and have Certbot edit your Apache configuration automatically to serve it, turning on HTTPS access in a single step. 

# certbot –apache

  1. Set up automatic renewal

# echo “0 0,12 * * * root python -c ‘import random; import time;

time.sleep(random.random() * 3600)’ && certbot renew” | sudo tee -a /etc/crontab > /dev/null

  1. Confirm that certbot worked by clicking on the particular website.

https://www.ssllabs.com/ssltest/

  1. Enter your domain name and it will show that website is secured or not.

Test your Domain Name

Now after completing the above installation go to any browser and type the Domain Name yourdomain.com in the URL to check the configuration.

Before

After

CONCLUSION– After the above configuration, you will be able to use Free SSL certificate from certbot on your domain.

How to configure Domain Name with VirtualHost in Centos 7 VPS and attach SSL certificate?

Several providers provides Domain Name service to its customer so that people need not remember the IP address of the web server. With the help of DNS the IP address can easily resolve with Domain Name and Vise Versa.

Prerequisite

1. Domain Name – Free(Freenom), Paid(Godaddy)

VPS – Centos 7
3. Web Server – apache, nginx

Configure Domain Name

In this blog we are going to take Free Domain Name from https://www.freenom.com, you can also purchase it from Godaddy.

Now follow the steps to configure the Domain Name:

Open the above given website and search for new domain.
Select the required domain and click on checkout option.
Now click on Use DNS option and also give the IP address of your VPS, also select the period from top right corner and then click on continue.

Click On Agree all the Terms and Condition checkbox and complete the shopping.

After that go inside the Domain Name and click on DNS management for your Domain.

Configure VPS

VPS stands for Virtual Private Server are the servers provided by many organizations like AWS, Azure that are used as

Web Server for Website Hosting and Database Server for storing database of all the customer.

For Example, Centos, Ubuntu, etc.

Now follow the steps to configure VirtualHost in Centos 7 VPS.
1. Open the server with SSH and type sudo command for non-root users.

After that go inside the /var/www/html directory and create new directory over their with the Domain Name by using the following command:

# sudo cd /var/www/html

# sudo mkdir yourdomain.com

# sudo cd yourdomain.com

# sudo vi index.html

After then write “Website under construction”.

Now create new conf file with server name in conf. directory

# sudo cd /etc/httpd/conf.d

# sudo vi yourdomain.com.conf

Now write the following code to create Virtual Host,

 

DocumentRoot “/var/www/html/learalot.ga”

ServerName learnalot.ga

ServerAlias www.learnalot.ga

<Directory “/var/www/html/learnalot.ga”>

Options FollowSymLinks

AllowOverride All

Options -Indexes

 

Redirect Permanent / https://learnalot.ga <—-> If you want to redirect http traffic to https.

 

DocumentRoot “/var/www/html/learnalot.ga”

ServerName learnalot.ga

ServerAlias www.learnalot.ga

<Directory “/var/www/html/learnalot.ga”>

Options FollowSymLinks

AllowOverride All

Options -Indexes

 

 

And save the file with :wq command.

Configure Web Server

For configuring Web Server you first decide which server you want to use for hosting website, Like apache, nginx, Microsoft IIS select any server based on your requirement.

In this we are going to install apache web server by using the following command:

# yum install -y httpd

# systemctl start httpd

# systemctl enable httpd

Configure SSL certificate

SSL stands for Secure Sockets Layer is a standard security technology for establishing an encrypted connection between the server and the client, Like Mail Server and Web server(Browser) and Mail Client.

Steps to configure the Let’s Encrypt Free SSL certificate in centos7 VPS.
1. Open this URL https://certbot.eff.org/ and click on Get certbot  instruction options.

Now select the software and VPS in which your website is running.

Run VPS with SSH and use sudo if you don’t have root privileges.
Enable EPEL repository by using the following command:
# yum install -y
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Now after that enable the optional channel by using the following command:

# yum -y install yum-utils

# yum-config-manager –enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional

6. Install certbot by using following command:

# yum install certbot python2-certbot-apache

Run this command to get a certificate and have Certbot edit your Apache configuration automatically to serve it, turning on HTTPS access in a single step.

# certbot –apache

Set up automatic renewal

# echo “0 0,12 * * * root python -c ‘import random;

import time; time.sleep(random.random() * 3600)’ && certbot

renew” | sudo tee -a /etc/crontab > /dev/null

Confirm that certbot worked by clicking on the particular website.

https://www.ssllabs.com/ssltest/

Enter your domain name and it will show that website is secured or not.

Test your Domain Name

Now after completing the above installation go to any browser and type the Domain Name yourdomain.com in the URL to check the configuration.

Before

After

CONCLUSION-

In this blog you can learn how to configure Domain Name with VirtualHost in centos 7 VPS and also learn how to configure SSL certificate in your website by using Let’s Encrypt Free SSL service provider.

How to install a free SSL certificate on domain via CWP panel?

Secure Domain Name with help of Let’s Encrypt in CWP, it provides an SSL certificate for 3 months and after we can easily update the SSL certificate for free with Let’s Encrypt in CWP.  This blog helps you to implement an SSL certificate on domains in CWP panel.

SSL

Secure Socket Layer

It is a protocol used for transmitting private documents via the internet,  it uses a cryptographic system that uses two keys to encrypt data: a public key known to everyone and a private or secret key known only to the recipient of the message.


Prerequisite 

1. CWP installed on centos(VPS)

2. Domain Name

Configure SSL

Firstly open the CWP on the browser with the help of the following URL:

https://domain_name:2038 and click on accept the risk and go ahead.

Now give credentials of the root user.

After this dashboard will be open and search for webServer settings in the left pane.


Select SSL Certificate option and after then select Auto SSL [Free] option.

Now select the appropriate User and Domain-based on your requirement.

After then click on Install SSL, apart from installing new you can also install manually or from the server.

After the domain attach successfully you can go test it with the various SSL checker

Now check your domain by typing in browser URL i.e https://domain_name.com

Redirect Traffic

You can also redirect traffic of HTTP to HTTPS by putting the following text in the domain_name.conf file and in CWP it is found under cd /usr/local/apache/conf.d/vhosts

Here found your conf file open it with vi editor and write the following code.

Redirect Permanent / https://domain_name.

CONCLUSION: After the above configuration, you will be able to use Free SSL certificate and also renew it from CWP.

How to configure hostname SSL with Let’s Encrypt in CWP?

Let’s Encrypt provides Free SSL certificate with the help of this you can secure your hostname easily.

Configure Hostname

Before configure SSL check the hostname and set it with the following command.

# hostname hosts.your_domain.com

You can also change the hostname from the CWP panel that is found under server settings, open it and give the hostname then save changes.

Also remember to create entry of particular hosts in the domain registrar with the A record and resolve it with IP_address.

Name            Type             TTL            Target 

Host_name          A            300            IP_address

Configure Letsencrypt SSL

To configure SSL certificate open CWP panel and search SSL certificates under WebServer settings and open it.

Now click on Install from server option and select certificate: hostname.cert and User: user_name after then click on install.

You can also test it with the help test button in the certificate panel.

These certificate files are used for cwp ports like:

Admin panel – (2030,2086-no SSL),(2031,2087-with SSL)

user panel – (2082-no SSL),(2083-with SSL)

Roundcube- (2095-no SSL),(2096-with SSL) 

CONCLUSION- From the above configuration, you will be able to configure the CWP admin panel and other services along with the certificate.

Get started with CloudMinister Today