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
1580 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

Spitting Pink in the Sink: Why Your Gums Randomly Bleed

Blog banner

Tableau

Blog banner

MySQL

Blog banner

Rain

Blog banner

Why Progressive Web Apps (PWAs) Are Replacing Traditional Websites

Blog banner

The War With Cold On Earth

Blog banner

How to Manage Business Invoices and Payments Easily?

Blog banner

Danger assessment in GIS

Blog banner

Firewall

Blog banner

Starvation

Blog banner

Population

Blog banner

Starvation

Blog banner

" THE ANSWERS THAT LED INDIAN BEAUTIES TO THE MISS UNIVERSE HISTORIC WIN. "

Blog banner

Marvel Cinematic Universe

Blog banner

Bit Coins

Blog banner

Online Games

Blog banner

Session Vulnerabilities

Blog banner

JUSTICE FOR EVERY “BEZUBAAN ANIMAL”

Blog banner

Data Science & AI

Blog banner

The Importance of Financial Literacy for College Students

Blog banner

Process in OS

Blog banner

MORDERN UNIX SYSTEM

Blog banner

Predicting Student Performance with Data Science

Blog banner

Perfect Moments to Wear a Rich Patola Design Outfit

Blog banner

Smartsheet

Blog banner

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

Digital Forensics Challenges and Tools

Blog banner

Admissions Open: Why This Is the Right Time to Choose the Best School for Your Child

Blog banner

Virtual Machine

Blog banner

Top 10 Logos and their meanings

Blog banner

Race Condition in Operating Theatre

Blog banner

Multiprocessor scheduling

Blog banner

15 Interesting Facts about India

Blog banner

Health and fitness

Blog banner

HubSpot

Blog banner

10 Survival Tips that might save your life

Blog banner

Data Lake

Blog banner

Making Money through Instagram

Blog banner

File management in os

Blog banner

Street foods

Blog banner

The Power of Forensic Watermarking in the Fight Against Content Piracy

Blog banner

Current Trends in GIS and Remote Sensing(Ocean Applications)

Blog banner