

{"id":1447,"date":"2020-02-23T17:51:45","date_gmt":"2020-02-23T08:51:45","guid":{"rendered":"https:\/\/curecode.jp\/tech\/?p=1447"},"modified":"2025-02-28T17:16:07","modified_gmt":"2025-02-28T08:16:07","slug":"wordpress-update-with-reverse-proxy","status":"publish","type":"post","link":"https:\/\/curecode.jp\/tech\/wordpress-update-with-reverse-proxy\/","title":{"rendered":"\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u74b0\u5883\u4e0b\u306e WordPress \u3067\u81ea\u5df1\u7f72\u540d\u8a3c\u660e\u66f8\u3092\u56de\u907f\u3057\u3066\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b"},"content":{"rendered":"<p>\n\u3068\u3042\u308b\u6848\u4ef6\u3067\u306e\u7279\u6b8a\u74b0\u5883\u3067\u82e6\u52b4\u3057\u305f\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\u3002\n<\/p>\n<p>\n\u305d\u306e\u74b0\u5883\u306f\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u74b0\u5883\u4e0b\u306b\u3042\u308a\u3001\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u30fc\u3067\u3044\u3063\u305f\u3093 https \u901a\u4fe1\u306e\u6697\u53f7\u304c\u5fa9\u53f7\u3055\u308c\u691c\u67fb\u3055\u308c\u305f\u4e0a\u3067\u3001\u518d\u5ea6 SSL\/TLS \u6697\u53f7\u5316\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\n<\/p>\n<p>\n\u518d\u5ea6\u6697\u53f7\u5316\u3055\u308c\u308b\u3068\u304d\u306b\u3001\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u30fc\u304c\u81ea\u5df1\u7f72\u540d\u8a3c\u660e\u66f8(\u30aa\u30ec\u30aa\u30ec\u8a3c\u660e\u66f8)\u3067\u6697\u53f7\u5316\u3057\u3066\u304f\u308b\u306e\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u5074\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001\u3067\u306f\u4e0d\u6b63\u306a SSL \u901a\u4fe1\u3068\u5224\u65ad\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\n<\/p>\n<p>\nWordPress \u306e\u7ba1\u7406\u753b\u9762\u304b\u3089\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3084\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u8a66\u307f\u308b\u3068\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3057\u307e\u3044\u307e\u3059\u3002\n<\/p>\n<pre>\r\n\tcURL error 60: SSL certificate problem: unable to get local issuer certificate\r\n<\/pre>\n<p>\n\u672c\u6765\u306f\u72ec\u81ea\u8a3c\u660e\u66f8\u3092\u767a\u884c\u3057\u305f\u8a8d\u8a3c\u5c40\u306e\u8a3c\u660e\u66f8\u60c5\u5831\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u3079\u304d\u306a\u306e\u3067\u3059\u304c\u3001\u305d\u308c\u304c\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u72b6\u6cc1\u3067\u3057\u305f\u3002\n<\/p>\n<p>\n\u3053\u3053\u306f\u4ed5\u65b9\u306a\u304f SSL \u8a3c\u660e\u66f8\u3092\u691c\u8a3c\u3057\u306a\u3044\u3053\u3068\u306b\u3057\u307e\u3059\u3002 cURL \u306e SSL \u8a3c\u660e\u66f8\u691c\u51fa\u30a8\u30e9\u30fc\u3092\u7121\u52b9\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\n<\/p>\n<p>\n\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u4f7f\u3046\u6642\u306f \/etc\/.curlrc \u306b insecure \u3068\u66f8\u3051\u3070\u826f\u3044\u306e\u3067\u3059\u304c WordPress \u306e\u7ba1\u7406\u753b\u9762\u306e\u30a8\u30e9\u30fc\u306f\u3053\u308c\u3067\u306f\u56de\u907f\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u3088\u3044\u65b9\u6cd5\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001 wp-includes\/class-http.php (WordPress 5.9.0 \u4ee5\u964d\u306f wp-includes\/class-wp-http.php )\u3092\u76f4\u63a5\u66f8\u304d\u63db\u3048\u307e\u3059\u3002\n<\/p>\n<pre><code class=\"php\">\r\n\t \/\/'sslverify'           => true,\r\n         'sslverify'           => false,\r\n<\/code><\/pre>\n<p>\n\u3053\u308c\u306f WordPress \u672c\u4f53\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306e\u5ea6\u306b\u66f8\u304d\u63db\u3048\u306e\u5fc5\u8981\u304c\u751f\u3058\u308b\u66ab\u5b9a\u63aa\u7f6e\u3067\u3059\u304c\u3001\u672c\u7a3f\u57f7\u7b46\u6642\u70b9\u3067\u306f\u3053\u308c\u4ee5\u5916\u306e\u5bfe\u51e6\u65b9\u6cd5\u306f\u306a\u3055\u305d\u3046\u3067\u3059\u3002\u3082\u3057\u3088\u3044\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3057\u305f\u3089\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\n<\/p>\n<h3>\u8ffd\u8a18<\/h3>\n<p>\n  WordPress 5.9.0 \u3067\u306f wp-includes\/class-http.php \u306b\u3042\u3063\u305f\u51e6\u7406\u304c wp-includes\/class-wp-http.php \u306b\u79fb\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002\n<\/p>\n<h3>IT\u30a8\u30f3\u30b8\u30cb\u30a2\u52df\u96c6\u4e2d\uff01<\/h3>\n<p>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u682a\u5f0f\u4f1a\u793e\u306fIT\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u52df\u96c6\u3057\u3066\u304a\u308a\u307e\u3059\u3002\u5c11\u4eba\u6570\u306e\u8077\u5834\u306a\u306e\u3067\u3001\u4e0a\u6d41\u30fb\u4e0b\u6d41\u3084\u30b5\u30fc\u30d0\u30fc\u30fb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5bfe\u5fdc\u306e\u57a3\u6839\u306a\u304f\u3001\u3042\u306a\u305f\u306e\u5f37\u307f\u3092\u6d3b\u304b\u3057\u306a\u304c\u3089 \u3044\u308d\u3044\u308d\u306a\u3053\u3068\u306b\u30c1\u30e3\u30ec\u30f3\u30b8\u53ef\u80fd\u3067\u3059\u3002\u30a8\u30f3\u30b8\u30cb\u30a2\u3068\u3057\u3066\u306e\u672a\u7d4c\u9a13\u306e\u65b9\u3001\u7d4c\u9a13\u304c\u5c11\u306a\u3044\u65b9\u3082\u6b53\u8fce\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e0b\u8a18\u3088\u308aIT\u30a8\u30f3\u30b8\u30cb\u30a2\u52df\u96c6\u306e\u63a1\u7528\u60c5\u5831\u3092\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n<div class=\"curecode_recruit_bn\">\n\t\t\t\t<a href=\"https:\/\/curecode.jp\/recruit\/itengineer\/\" target=\"_blank\" rel=\"noopener noreferrer\"><br \/>\n\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/curecode.jp\/tech\/wp-content\/themes\/tech\/images\/it_recruit.png?20241220\" alt=\"\u4e8b\u696d\u62e1\u5927\u306b\u4f34\u3044\u65b0\u3057\u3044\u9818\u57df\u306b\u4e00\u7dd2\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u304f\u30e1\u30f3\u30d0\u30fc\u3092\u52df\u96c6\u3057\u307e\u3059\u3002\"  width=\"500\" height=\"180\"\/><br \/>\n\t\t\t\t<\/a>\n\t\t<\/div>\n<h3>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u516c\u5f0f\u30a4\u30f3\u30b9\u30bf\u30b0\u30e9\u30e0<\/h3>\n<p>\u30ad\u30e5\u30a2\u30b3\u30fc\u30c9\u682a\u5f0f\u4f1a\u793e\u306e\u65b0\u30b5\u30fc\u30d3\u30b9\u60c5\u5831\u3084\u3001\u30aa\u30d5\u30a3\u30b9\u30e9\u30a4\u30d5\u306e\u7d20\u6575\u306a\u77ac\u9593\u307e\u3067\u3002\u79c1\u305f\u3061\u306e\u65e5\u3005\u306e\u55b6\u307f\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"curecode_recruit_bn\">\n\t\t\t\t<a href=\"https:\/\/www.instagram.com\/curecode\/\" target=\"_blank\" rel=\"noopener noreferrer\"><br \/>\n\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/curecode.jp\/tech\/wp-content\/themes\/tech\/images\/insta_bn.png?20241220\" alt=\"\u4e8b\u696d\u62e1\u5927\u306b\u4f34\u3044\u65b0\u3057\u3044\u9818\u57df\u306b\u4e00\u7dd2\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u304f\u30e1\u30f3\u30d0\u30fc\u3092\u52df\u96c6\u3057\u307e\u3059\u3002\"  width=\"500\" height=\"180\"\/><br \/>\n\t\t\t\t<\/a>\n\t\t<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3068\u3042\u308b\u6848\u4ef6\u3067\u306e\u7279\u6b8a\u74b0\u5883\u3067\u82e6\u52b4\u3057\u305f\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\u3002 \u305d\u306e\u74b0\u5883\u306f\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u74b0\u5883\u4e0b\u306b\u3042\u308a\u3001\u30d7\u30ed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1159,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,110],"tags":[158,113,22],"class_list":["post-1447","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-ssl","tag-curl","tag-ssl","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/1447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/comments?post=1447"}],"version-history":[{"count":4,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/1447\/revisions"}],"predecessor-version":[{"id":1650,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/posts\/1447\/revisions\/1650"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/media\/1159"}],"wp:attachment":[{"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/media?parent=1447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/categories?post=1447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/curecode.jp\/tech\/wp-json\/wp\/v2\/tags?post=1447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}