{"id":212,"date":"2024-07-10T08:02:00","date_gmt":"2024-07-09T23:02:00","guid":{"rendered":"https:\/\/www.k-ponta.com\/?p=212"},"modified":"2024-07-10T08:02:00","modified_gmt":"2024-07-09T23:02:00","slug":"bitnami%e3%81%a7lets-encrypt%e3%81%ae%e3%82%b5%e3%83%bc%e3%83%90%e8%a8%bc%e6%98%8e%e6%9b%b8%e3%82%92%e5%8f%96%e5%be%97%e3%81%97%e3%81%9f%e6%89%8b%e9%a0%86","status":"publish","type":"post","link":"https:\/\/k-ponta.com\/?p=212","title":{"rendered":"bitnami\u3067Let&#8217;s Encrypt\u306e\u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\u3057\u305f\u624b\u9806"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u8a2d\u5b9a\u65b9\u6cd5<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Bitnami\u306e\u8a2d\u5b9a\u30c4\u30fc\u30eb\u3092\u5229\u7528\u3057\u3066\u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-white-background-color has-background has-medium-font-size\"><em>sudo \/opt\/bitnami\/bncert-tool<\/em><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u8aac\u660e<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">AWS Lightsail\u3067\u521d\u671f\u306b\u767b\u9332\u3057\u305f\u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\u3092<strong><em>k-ponta.com<\/em><\/strong>\u306b\u3057\u3066\u3057\u307e\u3044\u3001\u5f8c\u306b\u306a\u3063\u3066<strong><em>13.196.238.191\/<\/em><\/strong>\u306b\u3057\u3066\u304a\u3051\u3070\u3088\u304b\u3063\u305f\u5f8c\u6094\u3002\u3002<br>\u521d\u671f\u8a2d\u5b9a\u304b\u3089\u3084\u308a\u76f4\u3059\u306e\u3082\u9762\u5012\u306a\u306e\u3067\u3001\u624b\u52d5\u3067<strong><em>13.196.238.191\/<\/em><\/strong>\u306e\u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\u3092\u65b0\u305f\u306b\u53d6\u5f97\u3067\u304d\u306a\u3044\u304b\u8abf\u3079\u305f\u3068\u3053\u308d\u3001<strong><em>bncert-tool<\/em><\/strong>\u30b3\u30de\u30f3\u30c9\u3067\u518d\u53d6\u5f97\u304c\u3067\u304d\u308b\u3088\u3046\u306a\u306e\u3067\u8a2d\u5b9a\u3092\u884c\u3046\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b5\u30fc\u30d0\u306bSSH\u3067\u30a2\u30af\u30bb\u30b9\u5f8c\u3001<strong><em>bncert-tool<\/em><\/strong>\u30b3\u30de\u30f3\u30c9\u3092\u8d77\u52d5\u3059\u308b\u3068\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-background-color has-background\"><code>$ sudo \/opt\/bitnami\/bncert-tool\n----------------------------------------------------------------------------\nWelcome to the Bitnami HTTPS Configuration tool.\n\n----------------------------------------------------------------------------\nDomains\n\nPlease provide a valid space-separated list of domains for which you wish to\nconfigure your web server.\n\nDomain list &#91;]: <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\u3057\u305f\u3044\u30c9\u30e1\u30a4\u30f3\u540d\u3092\u5165\u529b\u3059\u308b\u3002\u82f1\u8a9e\u306e\u8aac\u660e\u6587\u306f\u300c\u30b9\u30da\u30fc\u30b9\u3067\u533a\u5207\u3089\u308c\u305f\u6709\u52b9\u306a\u30c9\u30e1\u30a4\u30f3\u306e\u30ea\u30b9\u30c8\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044 Web\u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u6210\u3057\u307e\u3059\u3002\u300d\u3068\u306e\u3053\u3068\u306a\u306e\u3067\u3001<em>k-ponta.com<\/em>\u3068<em>13.196.238.191\/<\/em>\u306e2\u3064\u3092\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-background-color has-background\"><code>Domain list []: k-ponta.com 13.196.238.191\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b21\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u6709\u52b9\u5316\u306e\u78ba\u8a8d\u304c\u884c\u308f\u308c\u308b\u3002\u4e0b\u8a18\u306e\uff13\u3064\u306e\u8cea\u554f\u304c\u51fa\u3066\u304f\u308b\u306e\u3067\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306f\u300cy\u300d\u3092\u3001\u8a2d\u5b9a\u3057\u306a\u3044\u5834\u5408\u306f\u300cn\u300d\u3092\u5165\u529b\u3057\u3066\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u3067\u78ba\u5b9a\u3059\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>No.<\/td><td>\u82f1\u6587<\/td><td>\u610f\u5473<\/td><td>\u5165\u529b\u5024<\/td><\/tr><tr><td>1<\/td><td>Enable HTTP to HTTPS redirection<\/td><td>HTTP\u306e\u30a2\u30af\u30bb\u30b9\u3092HTTPS\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3059\u308b\u304b\uff1f<\/td><td>y<\/td><\/tr><tr><td>2<\/td><td>Enable non-www to www redirection<\/td><td>www\u304c\u7121\u3044URL\u306e\u30a2\u30af\u30bb\u30b9\u3092\u3001www\u4ed8\u304d\u306eURL\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3059\u308b\u304b\uff1f<\/td><td>y<\/td><\/tr><tr><td>3<\/td><td>Enable www to non-www redirection<\/td><td>www\u4ed8\u304d\u306eURL\u306e\u30a2\u30af\u30bb\u30b9\u3092\u3001www\u304c\u7121\u3044URL\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3059\u308b\u304b\uff1f<\/td><td>n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u9069\u5b9c\u3001\u7b54\u3048\u3066\u3044\u304f\u3002\u57fa\u672c\u7684\u306b\u30c7\u30a3\u30d5\u30a9\u30eb\u30c8\u306e\u9078\u629e\u80a2\u3092\u9078\u3093\u3067\u3044\u3051\u3070\u3044\u3044\u3068\u601d\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-background-color has-background\"><code>----------------------------------------------------------------------------\nEnable\/disable redirections\n\nPlease select the redirections you wish to enable or disable on your Bitnami\ninstallation.\n\nEnable HTTP to HTTPS redirection &#91;Y\/n]: y\n\nEnable non-www to www redirection &#91;Y\/n]: y\n\nEnable www to non-www redirection &#91;y\/N]: n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u305d\u306e\u5f8c\u3001\u4f5c\u696d\u5185\u5bb9\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u554f\u984c\u306a\u3051\u308c\u3070\u300cy\u300d\u3092\u5165\u529b\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-background-color has-background\"><code>----------------------------------------------------------------------------\nChanges to perform\n\nThe following changes will be performed to your Bitnami installation:\n\n1. Stop web server\n2. Configure web server to use a free Let&apos;s Encrypt certificate for the domains:\nk-ponta.com 13.196.238.191\/\n3. Configure a cron job to automatically renew the certificate each month\n4. Configure web server name to: 13.196.238.191\/\n5. Enable HTTP to HTTPS redirection (example: redirect http:\/\/k-ponta.com to\nhttps:\/\/k-ponta.com)\n6. Enable non-www to www redirection (example: redirect k-ponta.com to\n13.196.238.191\/)\n7. Start web server once all changes have been performed\n\nDo you agree to these changes? [Y\/n]: y\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a2d\u5b9a\u5185\u5bb9\u304c\u78ba\u8a8d\u3068\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u5165\u529b\u3001\u5951\u7d04\u306b\u3064\u3044\u3066\u3064\u3044\u3066\u306e\u8868\u793a\u304c\u3055\u308c\u308b\u306e\u3067\u554f\u984c\u306a\u3051\u308c\u3070\u9032\u3081\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-background-color has-background\"><code>----------------------------------------------------------------------------\nCreate a free HTTPS certificate with Let&apos;s Encrypt\n\nPlease provide a valid e-mail address for which to associate your Let&apos;s Encrypt\ncertificate.\n\nDomain list: k-ponta.com 13.196.238.191\/\n\nServer name: 13.196.238.191\/\n\nE-mail address []: \u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b\n\nThe Let&apos;s Encrypt Subscriber Agreement can be found at:\n\nhttps:\/\/letsencrypt.org\/documents\/LE-SA-v1.3-September-21-2022.pdf\n\nDo you agree to the Let&apos;s Encrypt Subscriber Agreement? [Y\/n]: y<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a2d\u5b9a\u304c\u59cb\u307e\u308b\u3002\u65e2\u306b<em>k-ponta.com<\/em>\u30c9\u30e1\u30a4\u30f3\u3067\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\u6e08\u307f\u3060\u3063\u305f\u306e\u3067\u3001\u65e2\u5b58\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5148\u306a\u3069\u304c\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-background-color has-background\"><code>----------------------------------------------------------------------------\nPerforming changes to your installation\n\nThe Bitnami HTTPS Configuration Tool will perform any necessary actions to your\nBitnami installation. This may take some time, please be patient.\n\n----------------------------------------------------------------------------\nSuccess\n\nThe Bitnami HTTPS Configuration Tool succeeded in modifying your installation.\n\nThe configuration report is shown below.\n\nBackup files:\n* \/opt\/bitnami\/apache\/conf\/httpd.conf.back.202407020351\n* \/opt\/bitnami\/apache\/conf\/bitnami\/bitnami.conf.back.202407020351\n* \/opt\/bitnami\/apache\/conf\/bitnami\/bitnami-ssl.conf.back.202407020351\n* \/opt\/bitnami\/apache\/conf\/vhosts\/wordpress-https-vhost.conf.back.202407020351\n* \/opt\/bitnami\/apache\/conf\/vhosts\/wordpress-vhost.conf.back.202407020351\n\nFind more details in the log file:\n\n\/tmp\/bncert-202407020351.log\n\nIf you find any issues, please check Bitnami Support forums at:\n\nhttps:&#47;&#47;github.com\/bitnami\/vms<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u30a8\u30f3\u30bf\u30fc\u30ad\u30fc\u3092\u62bc\u3057\u3066\u8a2d\u5b9a\u3092\u7d42\u4e86\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-background-color has-background\"><code>Press &#91;Enter] to continue:<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a2d\u5b9a\u5b8c\u4e86\u5f8c\u3001<a href=\"https:\/\/13.196.238.191\/\">https:\/\/13.196.238.191\/<\/a> \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u8a3c\u660e\u66f8\u306b\u554f\u984c\u304c\u7121\u3044\u4e8b\u3092\u78ba\u8a8d\u3059\u308b\u3002<br><em><strong>http:\/\/www.k-ponta.com<\/strong><\/em>\u304c<strong><em>https:\/\/13.196.238.191\/<\/em><\/strong>\u306b\u3001<strong><em>https:\/\/k-ponta.com<\/em><\/strong>\u304c\u3001<em><strong>https:\/\/13.196.238.191\/<\/strong><\/em>\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u308b\u3053\u3068\u3082\u5408\u308f\u305b\u3066\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8a2d\u5b9a\u65b9\u6cd5 Bitnami\u306e\u8a2d\u5b9a\u30c4\u30fc\u30eb\u3092\u5229\u7528\u3057\u3066\u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\u3059\u308b\u3002 sudo \/opt\/bitnami\/bncert-tool \u8aac\u660e AWS Lightsail\u3067\u521d\u671f\u306b\u767b\u9332\u3057\u305f\u30b5\u30fc\u30d0\u8a3c\u660e\u66f8\u3092k-ponta.com\u306b\u3057 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,6,7],"tags":[],"class_list":["post-212","post","type-post","status-publish","format-standard","hentry","category-bitnami","category-wordpress","category-systemconfig"],"_links":{"self":[{"href":"https:\/\/k-ponta.com\/index.php?rest_route=\/wp\/v2\/posts\/212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/k-ponta.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/k-ponta.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/k-ponta.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/k-ponta.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=212"}],"version-history":[{"count":0,"href":"https:\/\/k-ponta.com\/index.php?rest_route=\/wp\/v2\/posts\/212\/revisions"}],"wp:attachment":[{"href":"https:\/\/k-ponta.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/k-ponta.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/k-ponta.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}