Best SSL Implementation Guide
Hello ! As in our last blog, we had a brief idea about SSL and types of SSL. So, Before going ahead to implementation of SSL, I would recommend to read previous blogs before going ahead with this one for better understanding of concept to practical aspects.
Now, Lets go ahead with implementation of SSL.
- Get the primary and intermediate certificates to any folder on the server with the private key from the vendor. Lets assume files are kept in /etc/ssl/crt
- Open the Apache configuration file in a text editor. Apache configuration files are usually found in /etc/httpd. The main configuration file is usually named conf.In most cases the <VirtualHost> blocks will be at the bottom of this httpd.conf file. Sometimes you will find the <VirtualHost> blocks in a separate file in a directory like /etc/httpd/vhosts.d/ or /etc/httpd/sites/ or in a file called ssl.conf.
- If you need your site to be accessible through both secure (https) and non-secure (http) connections, you will need a virtual host for each type of connection. Make a copy of the existing non-secure virtual host and change the port from port 80 to 443.
- Add the lines in bold below.<VirtualHost 192.168.0.1:443>
- Change the names of the files and paths to match your certificate files:
- SSLCertificateFileshould be your primary certificate file for your domain name.
- SSLCertificateKeyFileshould be the key file generated when you created the CSR.
- SSLCertificateChainFileshould be the intermediate certificate file (if any) that was supplied by your certificate authority
- Save the changes and exit the text editor.
- Restart your Apache web server using one of the following commands:/usr/local/apache/bin/apachectl start
Thank You !
Do Rate the content to understand the quality of blogs. So, to do necessary changes in future. Do Subscribe to get notified !!!
Happy Learning !!!
If you have doubt or queries, you can definetely comment us or can mail us on [email protected]
If you have any recommedation for future blog, You can email us on [email protected]
Top Searches :
- Best SSL Guide.
- Types of SSL.
- Best Jboss Server Security Guide.
- Introduction to hardening in Middleware.
- Hardening In Jboss EAP 5.1
- Enable TLS1.2 in Jboss EAP 7
- VAPT – Enabling TLS1.1/1.2 in Jboss
- VAPT – DISABLING HTTP METHODS
- VAPT – HOW TO REMOVE APACHE COYOTE VERSION FROM JBOSS
- INSTALLATION OF JBOSS ON LINUX
- INTRODUCTION TO JBOSS
- INTRODUCTION TO MIDDLEWARE
- Thread Dump
- Heap Dump