您好,欢迎访问三七文档
Public-keyinfrastructure:X.509-Certificate曾文貴資訊科學系交通大學InfoSecLab,NCTUCIS2AuthenticationofpublickeysPublickeyusage:–EncryptionAlice(?)Bob(Alice,KUA)(Alice,KUA)E(KUA,M)?InfoSecLab,NCTUCIS3Authenticationofpublickeys(cont.)–VerificationofadigitalsignatureAlice(?)BobVer(KVA,(M,))(Alice,KVA)(Alice,KVA)?InfoSecLab,NCTUCIS4AuthenticationofpublickeysHowdoesBobknowthatthereceivedkeyKUA(orKVA)isvalid,i.e.,“authentic”,“notrevoked”,and“notexpired”?TrustedagentBob(1)Alice,KUA/KVA(2)(3)InfoSecLab,NCTUCIS5AuthenticationofpublickeysOff-line/on-lineapproachTrustedagentTBob:KVT(1)(Alice,KUA,Sig(KRT,Alice,KUA))TrustedagentT1TrustedagentT2PKI(X.509):On-line(John,KUJ,Sig(KRT1,Alice,KUJ))InfoSecLab,NCTUCIS6DirectoryserviceDirectory–Aserverordistributedsetofserversthatmaintainsadatabaseofinformationaboutusers.–Thedatabaseconsistsofusernamesandtheircorrespondinginformation,suchasnetworkaddress(foremailservice,etc),public-keycertificate,etc.ITU-TX.500series:defineadirectoryserviceInfoSecLab,NCTUCIS7X.509PartofX.500directoryserviceBasedonpublic-keyencryptionanddigitalsignatureProvidepublic-keycertificatesofusersDefineauthenticationprotocolsbasedonpublic-keycertificatesUsedinS/MIME,IPsecurity,SSL/TLS,SET,etc.InfoSecLab,NCTUCIS8CA(CertificateAuthority)ACAisatrustedserverthatissuescertificates.CAXhasaprivatesigningkeyKRXandawell-knownverificationkeyKVXcorrespondingtoKRXTherearealotofCA’s,usuallyarrangedinthetreestructureInfoSecLab,NCTUCIS9InfoSecLab,NCTUCIS10CA(cont.)AYXZBCLSRTMNInfoSecLab,NCTUCIS11Certificate網路身份證AcertificateisissuedbyaCAXAcertificateofauserAconsistsof:–ThenameoftheissuerCAX–his/herpublickeyKUA–thesignatureSig(KRX,A,KUA)bytheCAX–theexpirationdate–Rangeofapplication,suchas,encryption/signature–…InfoSecLab,NCTUCIS12CertificateacquisitionAlice:(1)GenerateKUA,,KRACAX:(3)GenerateSig(KRX,Alice,KUA)(2)Alice,KUA,IDproof(4)Sig(KRX,Alice,KUA)CertA,X=[Alice,KUA,Sig(KRX,Alice,KUA)]Note:CAdoesnotknowKRAInfoSecLab,NCTUCIS13Certificate(cont.)AcertificateisputinthedirectorybytheCAorbytheusersothateveryonecanqueryitsdata.Thedirectorydoesnotcreatethepublickey.Itmerelyprovidesaneasilyaccessiblelocationforuserstoobtaincertificates.InfoSecLab,NCTUCIS14CertificateformatInfoSecLab,NCTUCIS15Certificateformat(cont.)ArealexampleInfoSecLab,NCTUCIS16CertificateelementsVersion:currentlyv2andv3Serialnumber:anintegervalue,uniquewiththeissuingCA.Signaturealgorithmidentifier:thealgorithmusedtosignthecertificatetogetherwithparametersIssuername:X.500nameoftheCAthatcreatedandsignedthiscertificatePeriodofvalidity:consistoftwodates,thefirstandlastonwhichthecertificateisvalidInfoSecLab,NCTUCIS17Certificateelements(cont.)Subjectname:thenameoftheuserSubject’spublic-keyinformation:thepublickeyoftheuser,thesysteminwhichthiskeycanbeusedandparametersIssueruniqueidentifier:toidentifythenameoftheissuingCAincaseofambiguityoccurredinX.500Extensions:forotherpurposes(inV3)Signature:coversalloftheotherfieldsofthecertificate.Itcontainsthehashcodeoftheotherfields,encryptedwiththeCA’sprivatekey.Thisfieldincludesthesignaturealgorithmidentifier.InfoSecLab,NCTUCIS18NotationsCAA=CA{V,SN,AI,CA,TA,A,Ap}–YX:thecertificateofuserXissuedbyCAY–Y{I}:thesigningofIbyY.ItconsistsofYwithanencryptedhashcodeappended.WhenuserZgetscertificateYXandCAY’spublickey,he/shecanverifythevalidityofYX.InfoSecLab,NCTUCIS19VerifycertificatesToverifyXB,onehastogetthepublickeyofCAXandthenverifythiscertificate.X.509usesHierarchicalstructuretosearchtheappropriateverificationkeyofthecertificate.InfoSecLab,NCTUCIS20X.509hierarchyInfoSecLab,NCTUCIS21X.509hierarchy(cont.)AwantstoverifyB’scertificateZBAhasonlyCAX’spublickeyPathtofindCAZ’spublickey:–XW–WV–VY–YZ–ZBInfoSecLab,NCTUCIS22RevocationofcertificatesEachCAshouldmaintainacertificaterevocationlist(CRL)thatcontains–CertificatesthatarerevokedbeforetheexpirationdateDirectoryservice:providetherevocationlistofaCAInfoSecLab,NCTUCIS23Realexample申請GCA電子憑證自然人申請憑證流程圖.htm相關應用.htm–網路報繳稅.htm–公路電子監理•資料查詢GCA的電子憑證–gca0000000.cer個人的電子憑證–0400002280.cerInfoSecLab,NCTUCIS24VeriSignCA3classesforcertificates(digitalID),dependingonassuranceoftheholder’sidentityEveryonecangetafreeclass-1digitalIDVeriSignhomepageVersion.htmHomework–GetapersonalcertificatefromGCA–GetadigitalIDfromVeriSignInfoSecLab,NCTUCIS25VeriSignCA(cont.)CheckingApplicationsClass1UniquenameemailWebbrowsingsecureemailClass2aboveEnrollmentinformationaddresscheckOn-linesubscriptionInter-&intra-companyemailSoftwarevalidationpasswordreplacementClass3abovepersonalpresenceIDdocumentse-bankingcorp.databaseaccessmembershipon-lineservicestrongencryptioncontentintegrityservice(timestamp)InfoSecLab,NCTUCIS26AuthenticationprocedureswithpublickeysEachpartyknowsanother’spublickeyby“certificate”orothermeansLevelsofauthentication–One-wayauthentication–Two-wayauthentication–Three-wayauthenticationInfoSecLab,NCTUCIS27One-wayauthenticationInfoSecLab,NCTUCIS28Two-wayauthenticationInfoSecLab,NCTUCIS29Three-wayauthentication
本文标题:774-资讯科学系
链接地址:https://www.777doc.com/doc-3511339 .html