wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

How to use open SSL for web server - browser communication

profile
Genius Ape
Oct 08, 2017
0 Likes
0 Discussions
1578 Reads
  Author : Nupur Bhatt           Open Ubuntu Terminal, enter the following commands :   Type sudo apt-get install apache2 to install Apache.   How to use open SSL for web server - browser communication.   How to use open SSL for web server - browser communication.   Step One—Activate the SSL Module The next step is to enable SSL on the droplet. Follow up by restarting Apache.   How to use open SSL for web server - browser communication.   Step Two—Create a New Directory We need to create a new directory where we will store the server key and certificate Step Three—Create a Self Signed SSL Certificate When we request a new certificate, we can specify how long the certificate should remain valid by changing the 365 to the number of days we prefer. As it stands this certificate will expire after one year.With this command, we will be both creating the self-signed SSL certificate and the server key that protects it, and placing both of them into the new directory. The most important line is "Common Name". Enter your official domain name here or, if you don't have one yet, your site's IP address. How to use open SSL for web server - browser communication.   Step Four—Set Up the Certificate To set up the virtual hosts to display the new certificate, open up the SSL config file: sudo nano /etc/apache2/sites-available/default-ssl. How to use open SSL for web server - browser communication.   Within the section that begins with <VirtualHost _default_:443>, quickly make the following changes. Add a line with your server name right below the Server Admin email: ServerName example.com:443 Replace example.com with your DNS approved domain name or server IP address (it should be the same as the common name on the certificate). Find the following three lines, and make sure that they match the extensions below: SSLEngine on SSLCertificateFile /etc/apache2/ssl/apache.crt SSLCertificateKeyFile /etc/apache2/ssl/apache.key Save and Exit out of the file. How to use open SSL for web server - browser communication.   Step Five—Activate the New Virtual Host Before the website that will come on the 443 port can be activated, we need to enable that Virtual Host: sudo a2ensite default-ssl Restarting your Apache server will reload it with all of your changes in place. sudo service apache2 reload   How to use open SSL for web server - browser communication.   In the browser, type https://127.0.0.1, and you will be able to see the new certificate. Click on Add Exception. Click on View certificate.   How to use open SSL for web server - browser communication.   How to use open SSL for web server - browser communication. How to use open SSL for web server - browser communication. How to use open SSL for web server - browser communication. How to use open SSL for web server - browser communication. How to use open SSL for web server - browser communication.

Comments ()


Sign in

Read Next

Brain wash of social media

Blog banner

What is Packet Filtering?

Blog banner

Simple STEM Activities for Toddlers That Spark Curiosity

Blog banner

How to use GIT & GITHUB

Blog banner

Understanding Univariate, Bivariate, and Multivariate Analysis in Data Science

Blog banner

Lucidchart

Blog banner

Kids Grieve Too

Blog banner

Explain Kernel in OS

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

Intrusion Detection Systems - Anushka Linge

Blog banner

What is Minting & Mining

Blog banner

Install Ubuntu in Vmware

Blog banner

Steganography and Steganalysis

Blog banner

WHAT IS TWITTER AND HOW DOES IT WORK

Blog banner

Functions of operating system

Blog banner

Virtual Memory

Blog banner

Dr. Venkadavarahan

Blog banner

What Makes Patola the Queen of Silk?

Blog banner

Processes : Process description and control

Blog banner

Network Security Risks

Blog banner

The Role of cryptography in cyber security

Blog banner

OLA

Blog banner

Embedded Operating System

Blog banner

Electronic Funds Transfer

Blog banner

Why Should You Schedule Tweets on Twitter?

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

CREATE A DAILY SERIES

Blog banner

World end

Blog banner

Zoho

Blog banner

Direct Memory Access

Blog banner

Virtual Machine

Blog banner

geographic information system (GIS)

Blog banner

Starvation

Blog banner

Multithreading in Operating System

Blog banner

Outlook mail

Blog banner

Memory heirachy (Operating system)

Blog banner

Predicting Student Performance with Data Science

Blog banner

Deadlock in operating system

Blog banner

Stop Racism

Blog banner

Yoga in INDIA and ABROAD

Blog banner

E-security systems | CCTV

Blog banner

Mumbai

Blog banner