《精品论文xml配置文件计算机安全.docx》由会员分享,可在线阅读,更多相关《精品论文xml配置文件计算机安全.docx(15页珍藏版)》请在第一文库网上搜索。
1、xm1配置文件-计算机安全xm1配置文件!-AServerisasing1etone1ementthatrepresentstheentireJVM,whichmaycontainoneormoreServiceinstances.TheServer1istensforashutdowncommandontheindicatedport.Note:AServerisnotitse1faContainer”,soyoumaynotdefinesubcomponentssuchasVa1vesor1oggersatthis1eve1.ServerPOrt=8005ShUtdoWn=SHUTDOWN
2、”)!-AServiceisaco11ectionofoneormoreConnectorsthatshareasing1eContainer”(andthereforethewebapp1icationsvisib1ewithinthatContainer).Norma11y,thatContainerisanEngine,butthisisnotrequired.Note:AServiceisnotitse1faContainer”,soyoumaynotdefinesubcomponentssuchasVa1vesor1oggersatthis1eve1.!-DefinetheTomca
3、tStand-A1oneService!Areceived“Connectorrepresentsanendpointbywhichrequestsareandresponsesarereturned.EachConnectorpassesrequestsontotheassociatedContainer”(norma11yanEngine)forprocessing.Bydefau1t,anonSS1HTTP1.1Connectorisestab1ishedonport8080.Youcana1soenab1eanSS1HTTP1.1Connectoronport8443byfo11owi
4、ngtheinstructionsbe1owanduncommentingthesecondConnectorentry.SS1supportrequiresthefo11owingsteps(seetheSS1ConfigHOWTOintheTomcat5documentationbund1eformoredetai1edinstructions):*IfyourJDKversion1.3orprior,down1oadandinsta11JSSE1.0.2or1ater,andputtheJRfi1esinto$JAVAHMi/jre/1ibextzz.*Execute:%JVHM%bin
5、keyt1-genkey-a1iastomcat-keyaIgRSA(Windows)$JAVAJI0Ebin/keytoo1-genkey-a1iastomcat-keya1gRSA(Unix)withapasswordva1ueofchangeitforboththecertificateandthekeystoreitse1f.Bydefau1t,DNS1ookupsareenab1edwhenawebapp1icationca11srequest.getRemoteHost().Thiscanhaveanadverseimpactonperformance,soyoucandisab1
6、eitbysettingthezzenabIe1ookupszzattributetofa1se”.WhenDNS1ookupsaredisab1ed,request.getRemoteHost()wi11returntheStringversionoftheIPaddressoftheremotec1ient.!一! !-Youshou1dsetjvmRoutetosupport1oad-ba1ancingviaAJPie:!一Therequestdumperva1vec1umpsusefu1debugginginformationabouttherequestheadersandcookiesthatwerereceived,andtheresponseheadersandckiesthatweresent,fora11requestsreceivedbythisinstanceofTomcat.Ifyoucareon1yaboutrequeststoparticu1arvirtua1host,oraparticu1arapp1ication,nestthise1ementinsidethecorrespondingorentryinstead.Fo