Apache??HTTPS Virtual Host
???????????? ???????[ 2014/4/8 13:33:04 ] ????????Apache web HTTPS
????Apache ??HTTPS Virtual Host
????1.????SSL???
??????????????openssl??linux???????????????????????????????
????sudo apt-get install openssl
????sudo apt-get install libssl-dev
??????????飺
????cd /etc/ssl/private
????sudo openssl req -new -x509 -days 365 -sha1 -newkey rsa:1024 -nodes -keyout demo.key -out demo.crt
?????????????
????-x509 ??????????????
????-days ??????Ч??
????-sha1 ????????
????-newkey rsa:1024 ?????????key??1024???????????1024bits
????????????????demo.key??demo.crt
??????????????????ο???http://www.openssl.org/docs/apps/openssl.html
???????????裺
root@ubuntu:/etc/ssl/private# sudo openssl req -new -x509 -days 365 -sha1 -newkey rsa:1024 -nodes -keyout demo.key -out demo.crt
Generating a 1024 bit RSA private key
.......++++++
...........++++++
writing new private key to 'demo.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value??
If you enter '.'?? the field will be left blank.
-----
Country Name (2 letter code) [AU]:CN
State or Province Name (full name) [Some-State]:GD
Locality Name (eg?? city) []:GZ
Organization Name (eg?? company) [Internet Widgits Pty Ltd]:fdipzone.Ltd
Organizational Unit Name (eg?? section) []:test
Common Name (eg?? YOUR name) []:demo.fdipzone.com
Email Address []:fdipzone@gmail.com
root@ubuntu:/etc/ssl/private#
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11