亚洲女同成aV人片在线观看|亚洲www啪成人一区二区麻豆|亚洲国产中日韩精品综合|亚洲国产成人精品一级片|亚洲无码在线视频免费

新聞中心

NEWS

只需簡(jiǎn)單幾步即可生成ssl證書(shū)生成工具

時(shí)間:2026-05-05 03:15:37

  ssl證書(shū)生成工具是只需證書(shū)什么?想必都知道無(wú)論申請的是免費SSL證書(shū)還是ca頒發(fā)的SSL證書(shū),都是簡(jiǎn)單要安裝并生成證書(shū)方能正常使用。生成SSL證書(shū)的步即步驟也有所不同,有簡(jiǎn)單也有復雜的可生,那接下來(lái),生成小編就在這里給大家簡(jiǎn)述下ssl證書(shū)的工具生成工具,然后再另外說(shuō)下SSL證書(shū)的只需證書(shū)作用吧。

  SSL證書(shū)的簡(jiǎn)單作用 (′ω`) SSL證書(shū)是數字證書(shū)的一種,類(lèi)似于駕駛證、步即護照和營(yíng)業(yè)執照的可生電子副本。  SSL證書(shū)的生成兩(liang)大作用:數據加密和身份認證。  SSL 證書(shū)遵守 SSL協(xié)議,工具通過(guò)在客戶(hù)端瀏覽器和Web??服務(wù)器之間建立一條SSL安全通道。只需證書(shū)  一個(gè)有效、簡(jiǎn)單可信的步即 SSL 數字證書(shū)包括一個(gè)公共密鑰和一個(gè)??私用密鑰。公共密鑰用于加密信息,私用密鑰用于解譯加密的信息。因??此,瀏覽器指向一個(gè)安全域的??新網(wǎng)時(shí),SSL 將同步確認服務(wù)器和客戶(hù)端,并創(chuàng )建一種加密方式和一個(gè)唯一的會(huì )話(huà)密鑰。它們可以啟動(dòng)一個(gè)保證消息的隱私性和完整性的安全會(huì )話(huà)。   簡(jiǎn)述ssl證書(shū)生成工具&emsp(′?_?`); 1.創(chuàng )建根證書(shū)密鑰文件:  (′?`)open=""ssl genrsa -des3 -out root.key  輸出內??容為:

  [lenin@archer ~]$ openssl genrsaヾ(′?`)? -des3 -out root.keyGenerating RSA private key, 512 bit long modul(′?`)us……………..++++++++++++..+ヽ(′ー`)ノ+++++++++++??e is 65537 (0×10001)En??ter pass phrase for root.key: ← 輸入一個(gè)新密碼Verifying – Enter pass phrase for root.key: ← 重新輸入一遍密碼

  2.創(chuàng )建根證書(shū)的(′?`)申請文件root.csr:  open="open"ssl req -new -key root.key -out root.csr  輸出內容為:  [lenin@archer ~]$ openssl req -new -key root.key -out root.csrEnter pas??s phrase for root.key: ← 輸入前面創(chuàng )建的密碼You are about to be asked to enter information that will be incorporatedinto your certificate request.What yo(T_T)u 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 blankFor some fields there will be a default value,I(╯‵□′)╯f you ent(′ω`)er ‘.’, the field will be left blank.—–Country Name (2 letter code) [AU]:CN ← 國家代號,中國輸入CNState or Province Name (full name) [Some-State]:BeiJing ← 省的全名,拼音Locality Name (eg, city) []:BeiJing ← 市的全名,拼音Organization Name (eg, company) [Internet Widgits?? Pty Ltd]:MyCompany Corp. ← 公司英文名Organizational Unit Name(′_ゝ`) (eg,(′ω`) section) []: ← 可以不輸入Common Name (eg, YOUR name) []: ← 此(ci)時(shí)不輸入Email Address []:[email protected]ヾ(′?`)?m ← 電子郵箱,可隨意填  Please enter the following ‘extra’ attributesto be sent with your certificate requestA challenge password []: ← 可以不輸入An(′?ω?`) optional company na(╯‵□′)╯m??e []: ← 可以不(╥_╥)輸入  3.創(chuàng )建一個(gè)自當前日期起為期一年的新網(wǎng)根證書(shū)root.crt:  open="open"ssl x509 -req -days 365(′?`*) -sha1 -ext??ensions v3_ca -signke(′_`)y root.key -in root.req -out roo??t.crt  輸出內容為:  [lenin@archer ~]$ open??ssl x509 -req -days 365 -sha1 -extensions v3(???)_ca -signkey root.key -in root.csr -out root.crtSignature oksubject=/C=CN/ST=BeiJing/L=BeiJin??g/O=MyCompany Corp./[email protected] Private keyEnter pass phrase for root.key: ← 輸入前面創(chuàng )建的密碼  4.創(chuàng )建服務(wù)器證書(shū)密鑰server.key:  open=""ssl gen??rsa –des3 -out server.key 2048&em??sp; 輸出內容為: &e??msp;[lenin@archer ~]$ open="open"ssl genrsa -out server.key 2048Generating RSA private key, 2048 bit long modulus….+++………………………………ヽ(′ー`)ノ…………..+++e is 65537 (0×1(°o°)0001)  運行時(shí)會(huì )提示輸???入密碼,此密碼用于加密k??ey文件(參數d??es3(′?`)便是指加密算法,當然也可以選用其他你認為安全的算法??.),以后每當??需讀取此文件(通過(guò)openssl提供的命令或API)都需輸入口令.如果覺(jué)得不方便,也可以(yi)去除這個(gè)口令,但一定要采取其他的保護措施!去除key文件口令的命令:openssl rsa -in server.key -out server.key  5.創(chuàng )建服務(wù)器??證書(shū)的申請文件server.csr:  ヾ(′?`)?openssl req -new -key server.key -out server.csr  輸出內容為:  [lenin@archer ~]$ open="open"ssl req -new -key server.key -out server.reqYou are about to be asked to enter information that will be incorpor??atedinto your certificate request.What you are??? about to ent??er is what is called a Distinguished Name or a DN.There are quite a few fields but you can(′?`) lea??ve some bl??ankFor some fields there will be a default value,If you enter ‘.’, the field will be left blank.—–Country Name (2 letter code) [AU]:CN ← 國家名稱(chēng),中國輸入CNSta┐(′д`)┌te or Province Name (full name) [Some-State]:BeiJ??ing ← 省名,拼音Locality Nam??e (eg, city) []:BeiJing ← 市名,拼音Organization Name (eg, company) [Internet Widgits Pty Ltd]:MyCompany Corp. ← 公司英文名Organizational Unit Name (eg, section) []: ← 可以不輸入Common Name (eg, YOUR name) []:www.mycompany.com ← 服務(wù)器主機名,若填寫(xiě)不正確,瀏覽器會(huì )報告證書(shū)無(wú)效,但并不影響使用Email Address []:[email protected] ← 電子郵箱,可隨便填  Please enter the following ‘extra’ attributesto be sent wi(′▽?zhuān)?)th your certificate requestA challenge password []: ← 可以不輸入An optional company name []: ← 可以不輸入 ????? 6.創(chuàng )建自當前日期起有效期為期兩年的服務(wù)器證書(shū)server.crt:  open='open'ssl x509 -req -days 730 -sha1 -extensions v3_req -CA(′_`) root.crt -CAkey root.key -CAserial root.srl -C(′?`*)Acreateserial -in server.csr -out server.crt  輸出內容為:  [lenin@archer ~]$ open??ssl x509 -req -days 730 -sヽ(′▽?zhuān)?ノha1 -extensions v3_req(′?`) -CA root.c??rt -CAkey root.key -CAcreateserial -in serveヽ(′?`)ノr.csr -out server.crtSignature oksubject=/C=CN/ST=BeiJing/L=BeiJing/O=MyCompany Corp./CN=www.mycompany.com/emailAddress=admin@mycompany.??comGetti??ng CA Priヾ(′ω`)?vate KeyEnter pass phrase for root.key: ← 輸入前面創(chuàng )建的密碼  7.創(chuàng )建客戶(hù)端證書(shū)密鑰文件client.key:&emsp(′ω`); open="open"ssl genrsa -des3 -out client.key 2048  輸出內容為:  [lenin@archer ~]$ open='open'ssl genrsa -des3 -out client.key 2048Gener??atin??g RSA private key, 2048 bit long modulus……………………………………………………………………………..+++………………(′ω`)…………………………??………………………┐(′?`)┌…………………………………….+++e is 65537 (0×10001)Enter pass phrase for client.key: ← 輸入一個(gè)新密碼Verifying – Enter pass phrase for client(′;ω;`).key: ← 重新輸入一遍密碼  8??.創(chuàng )建客戶(hù)端證書(shū)的申請文件??client.csr:  open='open'ssl req -new -key client.key -out client.csr  輸出內容為:  [lenin@archer ~]$ open='open'ssl req -new -key client.key -out client.csrEnter pass phr??ase for client.key: ← 輸入上一步中創(chuàng )建的密碼You are about to be asked to enter info??rmation that will??? be incorporatedinto your certifica??te request.W(′?`)hat you are about to enter is what is called a Distinguished Name or a DN.Th(′▽?zhuān)?ere are quite a few fields but you can leave some blankFor some fields there will be a default value,If you enter ‘.’, the field will be left blank.—–Count(/ω\)ry Name (2 letter code) [AU]:CN ← 國家名稱(chēng),中國輸入CNState or Province Name (full name) [Some-State]:BeiJing ← 省名稱(chēng),拼音Locality Name(′?`*) (eg, city) []:BeiJing ← 市名稱(chēng),拼音Organization Name (eg, comp(′▽?zhuān)?any) [Internet Widgits Pty Ltd]:MyCompany Corp. ← 公司英文名Organizational Unit Name (eg, section) []: ← 可以不填Common Name (eg, YOUR name) []:Leni??n ← 自己的英文名,可以隨便填Email Address []:[email protected] ← 電子郵箱,可以隨便填  Please enter the following ‘extra’ attributesto be sent with your certificate requestA challenge password []: ← 可以??不填An optional company name []: ← 可以不填&e??msp; 9.創(chuàng )建一個(gè)自當前日期起有效期為兩年的客戶(hù)端證書(shū)client.crt:  open=""ssl x509 -req -days 730(◎_◎;) -sha1 -extensions v3_req -CA root.crt -CAkey root.key -CAserial root.srl -CAcreateserial -in clien??t.csr -out client.c?rt  輸出內容為:  [lenin@??archer ~]$ ope(╯°□°)╯nssl x509 -req -days 730 -sha1 -extensions v3_req -CA root.crt -CAkey?? root.key -CAcreateserial -in client.csr -out client.crtSignature oksu??bject=/C=CN/ST=BeiJing/L=BeiJing/O=MyCompany Corp.(′_`)/CN=www.mycompany.com/[email protected] CA Private KeyEnter pass phrase for root.key: ← 輸入上面創(chuàng )建的(′?_?`)密碼 &ems??p;10.將客戶(hù)端證書(shū)文件client.crt和客戶(hù)端證書(shū)密鑰文件client.key合并成客戶(hù)端證書(shū)安裝包c(diǎn)lient.pfx(⊙_⊙): &ems??p;open='open'ssl pkcs12 -export -in client.crt -inkey client.key -out client.pfx  輸出內容為: &(⊙_⊙)emsp;[lenin@archer ~]$ ope??nssl pkcs12 -export -in client.crt -inkey client.key -out client.pfxEnter pass phrase for client.key: ← 輸入上面創(chuàng )建的密碼Enter Export Password??: ← 輸入一個(gè)(ge)新的密碼,用作客戶(hù)端證書(shū)的保護密碼,在客戶(hù)端安裝證書(shū)時(shí)需要輸入此密碼(′ω`)Verifying – Enter Export Password: ← 確認密碼  11.保存生(sheng)成的文件備用,其中(zhong)server.crt和server.key是配置單向SSL時(shí)需要使用的證書(shū)文件,client.crt是配置雙向SSL時(shí)需要使用的證書(shū)文件,client.pfx是配置雙向SSL時(shí)需要(╯‵□′)╯客戶(hù)端安裝的證書(shū)文件  .crt文件和.key可以合到一個(gè)文件里面,把2個(gè)文件合成了一個(gè).pem文件(直接拷貝過(guò)去就行了) ssl證書(shū)工具  SSL證書(shū)概述 &ems??p;SSL證書(shū)是數字證書(shū)的一種,類(lèi)似于駕駛證、護照和營(yíng)業(yè)執照的電子副本。因為配置在服務(wù)器上,也稱(chēng)為SS(′_`)L服務(wù)(′ω`)器證書(shū)。  SSL 證書(shū)就是遵守SSL協(xié)議,由受信任的數字證書(shū)頒發(fā)機構CA,在驗證服務(wù)器身份后頒發(fā),具有服務(wù)器身份驗證和數據傳輸加密功能。

  SSL證書(shū)通過(guò)在客戶(hù)端瀏覽器和Web服務(wù)器之間建立一條SSL安全通道(Secure socket layer(SSL)安全協(xié)議是由Netscape Communication公司設計開(kāi)發(fā)。該安全協(xié)議主要用來(lái)提供對用戶(hù)和服務(wù)器的認證;對傳(chuan)送的數據進(jìn)行加密和隱藏;確保數據在傳送中不被改變,即數據的完整性,現已成為該領(lǐng)域中全球化的標準。由于??SSL技術(shù)已建立到所有主要的瀏覽器和WEB服務(wù)器程序中,因此,僅需安裝服務(wù)器證書(shū)就可以激活該功能了(le)),即通過(guò)它可以激活SSL協(xié)議,實(shí)現數據信息在客戶(hù)端和服務(wù)??器之間的加密傳輸,可以防止數據信息的泄露,保證了雙方傳遞信息的安全(quan)性,而且用戶(hù)(′?ω?`)可以通過(guò)服務(wù)器證書(shū)驗證他(◎_◎;)所訪(fǎng)問(wèn)的網(wǎng)站是否是真實(shí)可靠。數字(???)簽名又名數字標識、簽章 (即 Digital Certificate,Digital ID ),提供了一種在網(wǎng)上進(jìn)行身份驗證的方法,是用來(lái)標志和證明網(wǎng)絡(luò )通信雙方身份的數字信息文件,概念類(lèi)似日常生活中(′Д` )的??司機駕照或身份證??。 數字簽名主要用于發(fā)送安全電子郵件、訪(fǎng)問(wèn)安全站點(diǎn)??、網(wǎng)上招標與投標、網(wǎng)上簽約、網(wǎng)上訂購、網(wǎng)上公文安全傳送、網(wǎng)上辦公、網(wǎng)上繳費、網(wǎng)上繳稅以及網(wǎng)上購物(wu)等安全的網(wǎng)上電子交(′?ω?`)易活動(dòng)。

  以上就是小編給大家簡(jiǎn)述的ssl證書(shū)生成工具和SSL證書(shū)的作用的全部?jì)热?,本站的文章中還有很多關(guān)于ssl證書(shū)的相關(guān)文章,如??果想深入了解ssl證書(shū),就請關(guān)注下本站吧。

亚洲女同成aV人片在线观看|亚洲www啪成人一区二区麻豆|亚洲国产中日韩精品综合|亚洲国产成人精品一级片|亚洲无码在线视频免费 襄汾县| 紫阳县| 温州市| 洪洞县| 肇源县| 平罗县| 怀化市| 阳泉市| 盐津县| 永新县| 班玛县| 江阴市| 武隆县| 新昌县| 松潘县| 辽宁省| 远安县| 楚雄市| 寿阳县| 丹凤县| 葵青区| 娱乐| 文安县| 调兵山市| 宁阳县| 吉安市| 永康市| 富阳市| 延吉市| 诏安县| 南通市| 建平县| 大石桥市| 沂源县| 额济纳旗| 阿拉尔市| 新丰县| 鄂尔多斯市| 安义县| 海晏县| 富锦市| http://444 http://444 http://444 http://444 http://444 http://444