{"id":68949,"date":"2024-11-08T21:20:09","date_gmt":"2024-11-08T13:20:09","guid":{"rendered":"https:\/\/tomchun.tw\/tomchun\/?p=68949"},"modified":"2025-02-03T11:36:16","modified_gmt":"2025-02-03T03:36:16","slug":"certbot-https-ssl-xampp","status":"publish","type":"post","link":"https:\/\/tomchun.tw\/tomchun\/2024\/11\/08\/certbot-https-ssl-xampp\/","title":{"rendered":"Certbot HTTPS SSL XAMPP WORDPRESS \u7d00\u9304 FREE"},"content":{"rendered":"<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">Certbot HTTPS SSL XAMPP \u7d00\u9304 WORDPRESS<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\"><!--more--><\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">&#8211;<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u5b89\u88ddcertbot-beta-installer-win32.exe<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">&#8211;<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u95dc\u9589XAMPP \u8edf\u9ad4 (80PORT) <\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u78ba\u8a8d\u4e2d\u83ef\u96fb\u4fe1\u7db2\u5740\u4ee3\u7ba1dns\u7db2\u57df\u6709\u7121\u5c0d\u61c9\u5230\u56fa\u5b9aIP<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">&#8211;<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u7cfb\u7d71\u7ba1\u7406\u54e1\u8eab\u5206\u958b\u555fCMD<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u8f38\u5165certbot &#8211;help<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u8f38\u5165certbot certonly &#8211;standalone<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u8f38\u5165\u4fe1\u7bb1&gt; xxxxxxx@gmail.com<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u662f\u5426\u540c\u610f\u689d\u6b3e&gt; Y<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u662f\u5426\u63a5\u6536\u5230\u8a02\u95b1\u8a0a\u606f&gt; Y<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u8f38\u5165\u7db2\u57df\uff0c\u591a\u500b\u7db2\u57df\u4ee5`,`\u5340\u9694&gt; xxxxx.com<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u6210\u529f\u53d6\u5f97\u8a0a\u606f<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">Successfully received certificate.<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">Certificate is saved at: C:\\Certbot\\live\\XXXXX.com\\fullchain.pem<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">Key is saved at: C:\\Certbot\\live\\XXXXX.com\\privkey.pem<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">HTTPS\u6191\u8b49\u8cc7\u6599\u593e\u8def\u5f91:C:\\Certbot\\live\\\u7db2\u57df\u540d\u7a31<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u958b\u555f XAMPP\u7684Apache SSL \u4fee\u6539<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u4fee\u6539\u8def\u5f91\u4e09\u500b<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">SSLCertificateFile\u3001SSLCertificateKeyFile\u3001SSLCertificateChainFile<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">SSLCertificateFile &#8220;C:\\Certbot\\live\\\u7db2\u57df\u540d\u7a31\\cert.pem&#8221;<\/span><\/strong><\/p><div class=\"8174c08f3e8258bc782beea63dd170ee\" data-index=\"1\" style=\"float: none; margin:0px 0 0px 0; text-align:center;\">\n<br>\r\n<hr size=\"8px\" align=\"center\" width=\"100%\">\r\n<br>\r\n<!-- \u5167\u6587\u4e0a\u65b91 -->\r\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1525485034639690\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-1525485034639690\"\r\n     data-ad-slot=\"5744735635\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\r\n<br>\r\n<hr size=\"8px\" align=\"center\" width=\"100%\">\r\n<br>\r\n<!-- \u5167\u6587\u4e2d1 -->\r\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1525485034639690\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-1525485034639690\"\r\n     data-ad-slot=\"6362030347\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\r\n<br>\r\n<hr size=\"8px\" align=\"center\" width=\"100%\">\r\n<br>\n<\/div>\n\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">SSLCertificateKeyFile &#8220;C:\\Certbot\\live\\\u7db2\u57df\u540d\u7a31\\privkey.pem&#8221;<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">SSLCertificateChainFile &#8220;C:\\Certbot\\live\\\u7db2\u57df\u540d\u7a31\\chain.pem&#8221;<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">&#8211;<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u9032.htaccess\u4fee\u6539\u5f37\u5236http&gt;https<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">RewriteEngine On<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">RewriteCond %{HTTPS} off<\/span><\/strong><br \/>\n<strong><span style=\"color: #0000ff;\">RewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}%{REQUEST_URI} [L,R=301]<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">&#8211;<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u91cd\u555fApache\u4f3a\u670d\u5668<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u9032\u5165\u5f8c\u53f0WORDPRESS\u4fee\u6539\u8a2d\u5b9aHTTPS\u7db2\u7ad9\u8def\u5f91<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u958b\u7db2\u9801\u78ba\u8a8dhttps\u6191\u8b49\u6709\u6548\u671f\u9650<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">&#8211;<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-68950\" src=\"https:\/\/tomchun.tw\/tomchun\/wp-content\/uploads\/2024\/11\/1-24.jpg\" alt=\"\" width=\"531\" height=\"494\" \/><\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">&#8211;<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u66f4\u65b0\u5168\u90e8<\/span><\/strong><strong><span style=\"color: #0000ff;\">certbot renew &#8211;force-renewal &#8211;no-random-sleep-on-renew<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u66f4\u65b0\u55ae\u4e00\u7db2\u57df<\/span><\/strong><strong><span style=\"color: #0000ff;\">certbot renew &#8211;cert-name \u7db2\u57df\u540d\u7a31 &#8211;force-renewal<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">&#8211;<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u5217\u51fa\u6240\u6709\u6191\u8b49<\/span><\/strong><strong><span style=\"color: #0000ff;\">certbot certificates<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">&#8211;<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">\u79fb\u9664\u6191\u8b49<\/span><\/strong><strong style=\"font-style: italic;\"><span style=\"color: #0000ff;\">certbot delete &#8211;cert-name \u7db2\u57df\u540d\u7a31<\/span><\/strong><\/p>\n<p style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\">&#8211;<\/span><\/strong><\/p>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Certbot HTTPS SSL XAMPP \u7d00\u9304 WOR &#8230;<\/p>\n","protected":false},"author":1,"featured_media":68951,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[13245,13243,13244,13248,13246,13247],"class_list":["post-68949","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3c","tag-certbot","tag-certbot-https-ssl-xampp-wordpress-","tag-certbot-https-ssl-xampp-wordpress--free","tag-certbot-https-ssl-xampp","tag-http","tag-https"],"modified_by":"tomchun","_links":{"self":[{"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/posts\/68949","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/comments?post=68949"}],"version-history":[{"count":0,"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/posts\/68949\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/media\/68951"}],"wp:attachment":[{"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/media?parent=68949"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/categories?post=68949"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tomchun.tw\/tomchun\/wp-json\/wp\/v2\/tags?post=68949"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}