Build a web website based on https://www.zuoye.com. The homepage of the website is /www/https/ and the content is exercise.
1.Create a directory
2.Write the content
3. Set IP address
Write the following content in zuoye.conf.
To generate the key
, enter the password for the first one as shown above, and enter it again for the second one. Enter
the password for the first one, the name of the second organizational unit, and the name of the third website as shown below. View
:
Note: zuoye.crt and zuoye.key must not be 0 bytes.
Restart
1. Use IP access
2. Use domain name to access
Edit hosts
and write the following content, save and exit
Check
Use website access