How to apply for and deploy SSL in APACHE

Source: Internet
Author: User
Tags ssl certificate
I recently considered adding SSL because it involves payment. Therefore, you must consider using certificates to ensure security. How do I apply for this certificate? How can I deploy the application? Do I need to modify the program ??? Add SSL recently
Because it involves payment. Therefore, you must consider using certificates to ensure security.
How do I apply for this certificate?
How can I deploy the application?
Do I need to modify the program ???

Reply content:

Add SSL recently
Because it involves payment. Therefore, you must consider using certificates to ensure security.
How do I apply for this certificate?
How can I deploy the application?
Do I need to modify the program ???

1. In this case, you need to apply for a globally trusted SSL certificate from a CA. It is more universal and supports many browsers such as wosign ssl.
2. Deploy the certificate on the server after applying for the certificate.
3. Deploy the SSL Certificate of the APACHE server as follows:

1. Open the httpd. conf file in the conf directory under the apache installation directory and find

LoadModule ssl_module modules/mod_ssl.soInclude conf/extra/httpd_ssl.conf

Delete the configuration statement comment symbol "#" at the beginning of the line
Save and exit.
2. Open the httpd-ssl.conf file in the conf/extra directory under the apache installation directory
Find the following configuration statement in the configuration file:
A. Modify the encryption protocol as follows:
SSLProtocol all-SSLv2-SSLv3
B. Configure the public key of the server certificate to this path.
SSLCertificateFile conf/ssl. crt/test.wosign.com. crt certificate public key)
C. Configure the private key of the server certificate to this path.
SSLCertificateKeyFile conf/ssl. key/test.wosign.com. key (certificate private key)
E. Configure the server certificate chain to this path

SSLCertificateChainFile conf/ssl. crt/root_bundle.crt (certificate chain) Delete the "#" at the beginning of the line

Annotator
Save and exit, and restart Apache. Restart Method:
3. Go to the bin directory under the Apache installation directory and run the following command:
./Apachectl-k stop
./Apachectl-k start
2.4 Test the SSL Certificate
In the browser address bar, enter: https://s.wosign.com (the domain name for the certificate you requested) to test whether your SSL certificate has been installed successfully,
If yes, a security lock icon is displayed at the rear of the address bar of the browser. Test the installation and configuration of the site certificate.
Reference: Apache SSL Certificate Deployment Guide

Google

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.