国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 宿州市| 东城区| 罗江县| 闸北区| 行唐县| 洪湖市| 兴安县| 乐陵市| 鹿泉市| 铜鼓县| 泽普县| 潢川县| 古浪县| 屏东县| 沈阳市| 中超| 华宁县| 鹤峰县| 东阿县| 彰化市| 万源市| 英德市| 五台县| 华宁县| 青铜峡市| 长岭县| 伊金霍洛旗| 竹山县| 双柏县| 南汇区| 神木县| 古交市| 文昌市| 客服| 千阳县| 华阴市| 秦皇岛市| 丹寨县| 康保县| 郓城县| 隆尧县|