Again, I asked why https and http can be accessed after apache is configured with ssl in linux 100 points.

Source: Internet
Author: User
Tags startssl
I once again asked why https and http can be accessed after apache is configured with ssl in a master linux environment 100 points I read a lot of information online due to the limited level & nbsp; so I didn't see whether some web pages use https, for some web pages, you must access either of the two methods in http. for example, you can ask why https and http can be accessed after apache is configured with ssl in a master linux. question 100:
I have read a lot of information on the Internet due to limited level
So I didn't understand it.

Is it true that some web pages use https? if some web pages use http, they must both be able to access a web page.
1.
Where openssl command is used to generate the certificate
What are the differences between ssl.ca-0.1.tar.gz and ssl.ca-0.1.tar.gz used to generate certificates?

2.
What is the purpose of openssl installation?
-- With-ssl =/usr/local/ssl
However, after I install ssl (both https and http can be accessed), why is it effective to delete the ssl directory?
3.
You can use the following method to load ssl:
Remove # of # Include conf/extra/httpd-ssl.conf to enable ssl
There is also./bin/apachectl startssl
It seems that the version is not clear.

4.
Some configurations say what the so module of ssl is and what it is
I also tried what I needed in win32 (however, at that time, all the web pages should be accessed over https. I only wanted to use https)

I am about to crash.


------ Solution --------------------
1. two certificates should be generated. one is issued to the user and the other is the server. the specifics are unclear.

2. openssl is a security mechanism, that is, using openssl to generate certificates. It may be through RSA or other encryption algorithms, and then generate the public key and key

3. ssl is a protocol that establishes a secure channel between the client and the server.

4. I don't know ..
------ Solution --------------------
Https-based access is encrypted over ssl. http-based access is not encrypted. For more information, see the encryption symbol displayed in IE in the lower right corner.
------ Solution --------------------
Http://topic.csdn.net/u/20090203/09/0b08ddec-fcd7-4558-ace9-c9c844cd74c2.html

Let's take a look.
------ Solution --------------------
1. no difference. Just like tcl TV and Konka TV, they are all TVs.

2. the purpose is to allow apache to support ssl. -- With-ssl aims to let the c compiler know that the ssl library can be found in the place where the ssl library is needed when apache is compiled.

3. do not understand the questions to be asked! The old version is usually started with apachectl startssl. The new version is the configuration file that includes the ssl.

4. so only enables ssl to run in the form of apache modules (supported ). I need some web pages to support ssl. do you need some domain names or some directories? Some domain names are added to support the ssl directory when configuring the virtual host. they have not been tried, but they should be similar to the host!
------ Solution --------------------
Does your https directly start from the root directory or write the alias or virtualHost?

If it is directly placed under/var/www, you need to modify the http conf to disable http access/var/www/
If you write alias or virtualHost, you only need to remove the alias or virtualHost in the http conf file.
------ Solution --------------------
Help!
4. similar to configuring LoadModule ssl_module modules/mod_ssl.so, as the name implies, the ssl module is to be loaded.
3. Include conf/extra/httpd-ssl.conf (xampp ?) Is for ssl configuration
It is like cooking. 4 is a cooking tool and 3 is a side dish.
The Listen command should be able to specify the ip address and port

------ Solution --------------------

Ssl is a protocol that establishes a secure channel between the client and the server.

OpenSSL is a tool divided into clients and servers.

The server can run in modules.
------ Solution --------------------
Mod_ssl.so is not loaded, configure conf/extra/httpd-ssl.conf should not work, apache will start error


------ Solution --------------------
I learned ..

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.