![ApacheHTTPS安全超文本传输协议配置_第1页](http://file3.renrendoc.com/fileroot_temp3/2021-12/3/d3c74398-30d7-4dd1-a1f1-1e206b3f728b/d3c74398-30d7-4dd1-a1f1-1e206b3f728b1.gif)
![ApacheHTTPS安全超文本传输协议配置_第2页](http://file3.renrendoc.com/fileroot_temp3/2021-12/3/d3c74398-30d7-4dd1-a1f1-1e206b3f728b/d3c74398-30d7-4dd1-a1f1-1e206b3f728b2.gif)
![ApacheHTTPS安全超文本传输协议配置_第3页](http://file3.renrendoc.com/fileroot_temp3/2021-12/3/d3c74398-30d7-4dd1-a1f1-1e206b3f728b/d3c74398-30d7-4dd1-a1f1-1e206b3f728b3.gif)
![ApacheHTTPS安全超文本传输协议配置_第4页](http://file3.renrendoc.com/fileroot_temp3/2021-12/3/d3c74398-30d7-4dd1-a1f1-1e206b3f728b/d3c74398-30d7-4dd1-a1f1-1e206b3f728b4.gif)
![ApacheHTTPS安全超文本传输协议配置_第5页](http://file3.renrendoc.com/fileroot_temp3/2021-12/3/d3c74398-30d7-4dd1-a1f1-1e206b3f728b/d3c74398-30d7-4dd1-a1f1-1e206b3f728b5.gif)
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、apache https安全超文本传输协议配置1!首兔名装3个照务包apache服务包openssl服务包mod ssl服务包迪里用 yum 淺孑:mod ssiyum install ht t pd“ openssl -见下囹:rootlocalhostyum insteill httpd-* openss 1 -* mod_ss 1§3方便w跆嚴們就耙所有的傩檢券盏包祁朵上见下囹:dependencies reso1vedpackagearchversionrepositorysizeinsta11ing :httpd-deueli386z.z.3-zz.e15server148
2、 kopenss1-per 1i3860.9.8e-7.el5server33 kinsta11ing fordependencies:apr-develi3861.2.7-11serverz37 kapr-ut i1-d巳u巳1i3861.z.7-7.c15server54 ktransactionsummaryinsta 114package(s)update0package(s)remove0package(s)tota1 downloadsize: 47z kis this ok y/m : y_鹼入 y 布立名装total75 mb/s i 472 kb 00:00running r
3、pm_check_debugrunning transaction testfinished transaction testtransaction test succeededrunning transactioninsta11 ing:apr-devel1/4jinsta11ing:apr-uti1-d巳u巳1z/4jinsta11ing:h讥pd-deuel3/4ins tei 11 ing:openss1-per 14/41insta1 led: httpd-deve1.i386 0:z.z.3-zz.el5 openssl-per1.i386 0:0.9.8e-7 .e15depen
4、dency insta1 led: apr-deve1.1386 0:1.2.7-11 apr-ut i1-devel.i386 0:1.2.7-7.el 5complete?rootolocalhost虚孑complete ! 走孑客装咸功.忆e囹:下而逡左 cd / et c/ pki /1 i s/ cer t s 中i s 卷痛:兄下俗:roott? 1 oca 1 host j# cd /etc/pki/tls/certs roott? 1 oca 1 host certs j# isca-bundle.crt localhost.crt make-dummy一makef ile石老
5、窃路q鏑入金令:make server .crt 逻的注册舌先握族你爺入倉徧:0下囹:e is 65537 (0x10001)enter pass phrase:uerifying - enter pass phrase :umask 77 ; /usr/bin/openss1 req -utf8 -new -key server.key -x509 -days 365 -out server.crt -s巳t_seria1 0enter pass phrase f or server ky:requestenter is what is ca1 led a distinguished nam
6、e or a dm. f ieids but you can leave some blankui11 be a defauit ualue, field will be left blank.you are about to be asked to 巳“ter information that mill be incorporated into your certif ica ubat you are about to there are quite a few for some fields there if you enterthe輪入 3 次京芻之后到第二步.下而聂求綸入炭:cn (中
7、) 吊伤:j s (口务) 込呂:huai an (沦名)所念单佞:wa n j i a f u ( 2家福)所念部d (更业):b o s s (老板)儼2 (迫1磯们侦乡本机i p地尬):1 92. 1 68. 1. 1 1 1是后杲邮付込览:nyz183country name (z lettgr code) gbj :cnstat巳 or province name (full name) berkshire:jsloca1ity name (eg, city) newbury:huaianorganization name (eg, company) my company ltd:w
8、anjiafuorganizationa1 unit name (egj section) j :booscommon marne (eg, your name or your serverj s hostname) j:19z.168.1.111 emai 1 address : nyzl83(?163 .comroott?localhost certs#內容摆立之后软们総入命今:丨s岌呢多出3 2个殳仔:server, crt 知 server, keyrooiocqlhost certsisca-bundle.crt localhost.crt mek巳一dummy-c巳rt makef
9、 ile server.crt server.key rootlocqlhost certs# cd /rootplocalhost /tt世就圣我们需理的2 个见l :下而衣们盯斥主紀罡殳件:vi m / et c/ ht t pd/ conf / ht t pd. conf涯盍路qg certs下而的crt 初 keysslcert if icatefile /etc/pki/t ls/cer.crt sslcert if icatekeyfile /etc/pki/t1s/certs/server.key夹们层是后一&加入世2旬请:(个人喜眄加右釆后方便杏痛)席瘙路总克爺入立能7
10、而幻科ssl . conf 殳付筛入路e: vim / et c/ ht t pd/ conf. d 血tab 従走召:总第 m ssl. conf 殳付幻科它rootylocalhost /j# uim /etc/httpd/conf.d/manua1.confproxy_ajp.conf squid.confwelcome.confper 1.confpython.confss1.confphp.confreadmeweba1izer.conf鏑入路 $: vi m i et cl ht t pd/ conf . d/ ssl .confrootolocalhost /# vim /etc
11、/httpd/conf.d/ss1.conf农第1 1 211 9污牡铛比立付込仏:免下图:sslcwrtificatflie /gtc/pk1/t1s/certs/localhostcrtcertif icatw, use thiskeep in mind that if key you can conf igure use of dsa ciphers, etc.)server pr iuakey :if the key is not combined with thedirective to point at the key file youj ue both a rsa and a d
12、sa privateboth in para 1le1 (to also a 1lou thesslcert if icatekeyf ile zetc/pk i/tls/pr iuatezlocalhost.keyje i ocal host .crt 知 i ocal host .key 箍咸 ser ver. cr t server .keyii119 &的tls居而private聂施改咸certs 见下®:sslcert if icatef ile c/pk i/tls/certs/setuer.crtcertif icause thiskeep in mind th
13、at if key you can conf igure use of dsa ciphers, etc.)tt server pr ivatg key:tt if thg key is not combined with the tt directo point at the key file, tt youj ve both a rsa and a dsa private tt both in para 1 le1 (to also a 1lou thesslcert if icatekeyf ile /etc/pk i/t1s/certs/seruer.key侶存退出后重右apache服
14、务:鏑入命今:service ht t pd restart第一:尢筮名耐傀僱丘失販:铉居妙你鏑入宏錫(別才申褚的时佩鏑入的那3违的弦親)筛入2廉肓即句鱼£服务:ro ot (? loca lhos t /1# service httpd res tortstopping httpd :failedstarting httpd: apache/z.2.3 mod_ss1/z.2.3 (pass phrase dialog) some of your private key f iles are encrypted for security reasons. in order to r
15、ead them you have to provide th巳 pass phrases.server localhostlocaldomain:443 (rsa)enter pass phrase:ok: pass phrase dialog successful.ok j下而坡们到丨e 询娄器扌:鏑入:ht t ps : il 1 92. 1 68. 1. 1 1 1跳出上q下器而:zk 找不到服务2(licrosoft intexnot explorct文件5« (v)收廉足)工具 帮肋©后退 q 凶崗p««e ieq«si sff删:qd圖昨其曲»111“订无法显示网页擁正在査找的页当紡不可用. 您的浏菟熬设1lis«w以下冷作車击(?)刷新冬钮,要检資您的网络连接,谙单击: 选珮在逞接选项卡上厚击 clmt)甘理员戒 internet査看您的15接设査j hicroioft yindvz 栓査空的f1. 单法工具菜单悠后单击internet选環.2. 在连授遶顶卡上击lai设玄.3. 遶笄自动检测设査总后单出定某些站臣要求128位的连獲安全性.单击希助票至 > 燃后单击 ¥工 v a 口一、internet£ 正在打开网贡 httpx:/192 168 1
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年罩极型电动机项目可行性研究报告
- 成都四川省人民医院蒲江医院·蒲江县人民医院编外护理人员招聘3人笔试历年参考题库附带答案详解
- 2025年热弯炉项目可行性研究报告
- 2025年桨叶-微粉两级干燥系统项目可行性研究报告
- 2025年旋转式膜电位器项目可行性研究报告
- 2025年差动轴项目可行性研究报告
- 2025年喷气织机边撑项目可行性研究报告
- 2025年利巴韦林滴眼液项目可行性研究报告
- 2025至2031年中国3-丙二醇行业投资前景及策略咨询研究报告
- 2025至2030年高纯锰矿项目投资价值分析报告
- 《认识人民币》完整版
- 工程施工风险研判报告及安全风险管控防范应对措施
- 科普作家协会会员
- ptmeg生产工艺技术
- 高中英语定语从句之哪吒-Attributive Clause 课件
- 仁爱版八年级英语下册全册教案
- 医疗安全不良事件警示教育课件
- 《幼儿园健康》课件
- 医保物价培训课件
- 2024年国新国际投资有限公司招聘笔试参考题库含答案解析
- 心肌梗死心律失常的机制和处置
评论
0/150
提交评论