{"id":3836,"date":"2017-07-03T16:18:12","date_gmt":"2017-07-03T08:18:12","guid":{"rendered":"http:\/\/blog.hoyo.idv.tw\/?p=3836"},"modified":"2017-07-03T16:18:12","modified_gmt":"2017-07-03T08:18:12","slug":"%e5%ae%89%e8%a3%9d-godaddy-ssl","status":"publish","type":"post","link":"https:\/\/blog.hoyo.idv.tw\/?p=3836","title":{"rendered":"\u5b89\u88dd Godaddy SSL"},"content":{"rendered":"<ol>\n<li>\u7522\u751f\u4e3b\u6a5f SSL csr<br \/>\n<a href=\"https:\/\/www.godaddy.com\/help\/generate-a-csr-certificate-signing-request-5343\" target=\"_blank\" rel=\"noopener noreferrer\">Generate a CSR (certificate signing request)<\/a><br \/>\n<a href=\"https:\/\/www.godaddy.com\/help\/apache-generate-csr-certificate-signing-request-5269\" target=\"_blank\" rel=\"noopener noreferrer\">Apache: Generate CSR (Certificate Signing Request)<\/a><\/li>\n<li>\u628a csr \u8cbc\u7d66 Godaddy<\/li>\n<li>\u9a57\u8b49\u7db2\u7ad9 (\u7db2\u57df)<br \/>\n<a href=\"https:\/\/www.godaddy.com\/help\/verify-domain-ownership-html-or-dns-7452\" target=\"_blank\" rel=\"noopener noreferrer\">Verify domain ownership (HTML or DNS)<\/a><\/li>\n<li>Godaddy \u6703\u6253\u96fb\u8a71\u770b\u662f\u4e0d\u662f\u6709\u4eba\u5728\u958b\u73a9\u7b11<\/li>\n<li>\u78ba\u8a8d\u5f8c\uff0c\u767c\u9001\u8b49\u66f8\u9023\u7d50<\/li>\n<li>\u4e0b\u8f09\u8b49\u66f8\uff0c\u89e3\u58d3\u7e2e\u5230 \/usr\/local\/ssl<\/li>\n<li>\u5b89\u88dd mod_ssl<\/li>\n<li>\u7de8\u8f2f ssl.conf<\/li>\n<li>\u91cd\u65b0\u555f\u52d5 HTTPD<\/li>\n<\/ol>\n<p>--<\/p>\n<pre class=\"lang:default decode:true\">mkdir \/usr\/local\/ssl\r\ncd \/usr\/local\/ssl\r\nopenssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr\r\n\r\n<\/pre>\n<p>--<\/p>\n<p>\u7db2\u57df\u8a8d\u8b49<\/p>\n<pre class=\"lang:default decode:true\">\/.well-known\/pki-validation\/godaddy.html\r\n\r\n\r\n-- Your unique ID --<\/pre>\n<p>&nbsp;<\/p>\n<p>--<\/p>\n<h2>\u5b89\u88dd SSL \u8b49\u66f8\u5230 Apache<\/h2>\n<p>\u5b89\u88dd Apache SSL mod<\/p>\n<pre class=\"lang:default decode:true\">yum install mod_ssl<\/pre>\n<p>\u7de8\u8f2f \/etc\/httpd\/conf.d\/ssl.conf<\/p>\n<pre class=\"lang:default decode:true\">vi \/etc\/httpd\/conf.d\/ssl.conf\r\n\r\n\r\n&lt;VirtualHost *:443&gt;\r\nServerName www.oikid.com:443\r\nSSLCertificateFile \/usr\/local\/ssl\/xxxxxxxxx.crt\r\nSSLCertificateKeyFile \/usr\/local\/ssl\/www.youdomain.com.key<\/pre>\n<ul>\n<li>SSLCertificateFile \u70ba Goddddy \u58d3\u7e2e\u6a94\u5167\u7684 crt<\/li>\n<li>SSLCertificateKeyFile \u662f\u4e00\u958b\u59cb\u7528 openssl \u7522\u751f\u7684 key \u6a94\u6848<\/li>\n<\/ul>\n<p>--<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p class=\"pvc_stats all \" data-element-id=\"3836\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;4,487&nbsp;total views, &nbsp;3&nbsp;views today<\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u7522\u751f\u4e3b\u6a5f SSL csr Ge...<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p class=\"pvc_stats all \" data-element-id=\"3836\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> &nbsp;4,487&nbsp;total views, &nbsp;3&nbsp;views today<\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[31],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/3836"}],"collection":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3836"}],"version-history":[{"count":5,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/3836\/revisions"}],"predecessor-version":[{"id":3860,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/3836\/revisions\/3860"}],"wp:attachment":[{"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hoyo.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}