国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 網(wǎng)站 > 建站經(jīng)驗(yàn) > 正文

Centos 5下配置https服務(wù)器的方法

2019-11-02 16:20:15
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友
[root@centos5 ~]# yum -y install mod_ssl 在線安裝mod_ssl

Loading "fastestmirror" plugin

Loading mirror speeds from cached hostfile

* base: centos.candishosting.com.cn

* updates: mirror.khlug.org

* addons: centos.candishosting.com.cn

* extras: centos.candishosting.com.cn

Setting up Install Process

Parsing package install arguments

Resolving Dependencies

--> Running transaction check

---> Package mod_ssl.i386 1:2.2.3-11.el5_2.centos.4 set to be updated

--> Processing Dependency: libdistcache.so.1 for package: mod_ssl

--> Processing Dependency: libnal.so.1 for package: mod_ssl

--> Running transaction check

---> Package distcache.i386 0:1.4.5-14.1 set to be updated

--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================

Package Arch Version Repository Size

=============================================================================

Installing:

mod_ssl i386 1:2.2.3-11.el5_2.centos.4 updates

85 k

Installing for dependencies:

distcache i386 1.4.5-14.1 base 119 k

Transaction Summary

=============================================================================

Install 2 Package(s)

Update 0 Package(s)

Remove 0 Package(s)

Total download size: 204 k

Downloading Packages:

(1/2): mod_ssl-2.2.3-11.e 100% |=========================| 85 kB 00:02

(2/2): distcache-1.4.5-14 100% |=========================| 119 kB 00:03

Running rpm_check_debug

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

Installing: distcache ######################### [1/2]

Installing: mod_ssl ######################### [2/2]

Installed: mod_ssl.i386 1:2.2.3-11.el5_2.centos.4

Dependency Installed: distcache.i386 0:1.4.5-14.1

Complete!

[root@centos5 ~]# cd /etc/httpd/conf 進(jìn)入HTTP服務(wù)器配置文件所在目錄

[root@centos5 conf]# rm -rf ssl.*/server.* 刪除默認(rèn)或殘留的服務(wù)器證書(shū)相關(guān)文件

[root@centos5 ~]# rpm -qa |grep openssl

openssl-0.9.8b-10.el5

[root@centos5 ~]# openssl genrsa -out www.yang.com.key 1024 建立服務(wù)器密鑰

Generating RSA private key, 1024 bit long modulus

...........................................................++++++

.++++++

e is 65537 (0x10001)

[root@centos5 ~]# openssl req -new -key www.yang.com.key -out www.yang.com.csr 建立服務(wù)器公鑰

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.
發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 商城县| 长白| 台东市| 汶上县| 陆河县| 淮安市| 曲周县| 石楼县| 玉树县| 平果县| 鄂尔多斯市| 嘉峪关市| 府谷县| 龙岩市| 陇川县| 沙雅县| 高碑店市| 额济纳旗| 金寨县| 高雄县| 平罗县| 湘潭县| 新建县| 山西省| 雷州市| 定安县| 彩票| 永春县| 个旧市| 静安区| 兴仁县| 克东县| 长岛县| 华亭县| 永胜县| 吉首市| 资源县| 和田县| 信丰县| 丽江市| 鄂托克前旗|