{"id":6635,"date":"2021-11-30T23:42:00","date_gmt":"2021-11-30T14:42:00","guid":{"rendered":"https:\/\/hdmr.org\/d\/?p=6635"},"modified":"2021-12-01T00:42:57","modified_gmt":"2021-11-30T15:42:57","slug":"wp-6635","status":"publish","type":"post","link":"https:\/\/hdmr.org\/d\/wp-6635","title":{"rendered":"WordPress\u3068TOTP"},"content":{"rendered":"<p>\u30b5\u30fc\u30d0\u30fc\u306b\u624b\u3092\u5165\u308c\u3066\u3044\u308b\u8a71\u3092\u66f8\u304d\u307e\u3057\u305f\u304c\u3001<\/p>\n<p>\u3053\u306eBlog\u306e\u30ed\u30b0\u30a4\u30f3\u3092\u30d1\u30b9\u30ef\u30fc\u30c9+TOTP\u306e2\u8981\u7d20\u8a8d\u8a3c\u306b\u3057\u305f\u3002<\/p>\n<p>WordPress\u306b\u306f\u305d\u306e\u305f\u3081\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u3042\u308b\u306e\u3067\u7c21\u5358\u3067\u3042\u308b\u3002<\/p>\n<hr>\n<p>\u3068\u3053\u308d\u3067\u3001\u3053\u306eBlog\u304cWordPress\u306b\u306a\u308b\u4ee5\u524d\u306fTLS\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a3c\u660e\u66f8\u3092\u8a8d\u8a3c\u624b\u6bb5\u306b\u4f7f\u3063\u3066\u3044\u305f\u3002<\/p>\n<p><a href=\".\/?e=3178\">\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a3c\u660e\u66f8\u3067\u901a\u3059<\/a><\/p>\n<p>\u3053\u3053\u306b\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u304c\u3001Apache\u3067\u201dSSLVerifyClient optional\u201d\u3092\u30bb\u30c3\u30c8\u3057\u3066\u3001<\/p>\n<p>\u74b0\u5883\u5909\u6570\u306e$_SERVER[\u201cSSL_CLIENT_S_DN_CN\u201d]\u3092\u898b\u3066\u8a8d\u8a3c\u3059\u308b\u3068\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u3068\u306e\u4f75\u7528\u3060\u3063\u305f\u304c\u3001\u30d6\u30e9\u30a6\u30b6\u3067\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068\u304d\u306f\u4f55\u3082\u5165\u529b\u3057\u306a\u304f\u3066\u6e08\u3093\u3060\u3002<\/p>\n<p>\u305f\u3060\u3001WordPress\u3067\u3053\u3093\u306a\u30de\u30cb\u30a2\u30c3\u30af\u306a\u8a8d\u8a3c\u65b9\u6cd5\u306f\u4f7f\u3048\u307e\u305b\u3093\u304b\u3089\u306d\u3002<\/p>\n<hr>\n<p>TOTP(Time-based One-time Password)\u306e\u5c0e\u5165\u306f\u7c21\u5358\u3067\u3042\u308b\u3002<\/p>\n<p><a href=\"https:\/\/ja.wordpress.org\/plugins\/google-authenticator\/\">\u30d7\u30e9\u30b0\u30a4\u30f3\/Google Authenticator (WordPress)<\/a><\/p>\n<p>\u3053\u308c\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u3044\u3044\u3093\u3067\u3059\u306d\u3002<\/p>\n<p>\u305d\u306e\u4e0a\u3067\u30e6\u30fc\u30b6\u30fc\u306e\u8a2d\u5b9a\u306b\u3042\u308b\u3001&#8221;Google Authenticator Settings\u201d\u3092Active\u306b\u3057\u3066\u3001<\/p>\n<p>Secret\u3067\u201dCreate new secret\u201d\u3068\u3057\u3066\u3001&#8221;Show\/Hide QR Code\u201d\u3067QR\u30b3\u30fc\u30c9\u3092\u8868\u793a\u3059\u308b\u3002<\/p>\n<p>\u3042\u3068\u306f\u3001\u3053\u308c\u3092Google Authenticator\u306a\u3069\u3067\u8aad\u307f\u53d6\u308c\u3070\u5b8c\u4e86\u3067\u3042\u308b\u3002<\/p>\n<p>(\u3053\u308c\u767b\u9332\u5b8c\u4e86\u5f8c\u3082\u540c\u753b\u9762\u3092\u958b\u304f\u3068Secret\u304c\u5e73\u6587\u3067\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u306e\u306f\u3069\u3046\u304b\u3068\u601d\u3046\u304c)<\/p>\n<p>\u3042\u3068\u306f\u30ed\u30b0\u30a4\u30f3\u6642\u306b\u30e6\u30fc\u30b6\u30fc\u540d\u30fb\u30d1\u30b9\u30ef\u30fc\u30c9\u30fbTOTP\u3092\u5165\u529b\u3059\u308c\u3070OK\u3002<\/p>\n<hr>\n<p>\u3068\u3053\u308d\u3067\u50d5\u306f\u3053\u306eBlog\u306e\u6295\u7a3f\u306bOpen Live Writer\u3092\u4f7f\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>\u3053\u306e\u5834\u5408\u3001TOTP\u3092\u4f7f\u3063\u305f\u30ed\u30b0\u30a4\u30f3\u306f\u3067\u304d\u306a\u3055\u305d\u3046\u3060\u304c\u3001\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u306e\u304b?<\/p>\n<p>\u3053\u306e\u5834\u5408\u306f\u201dEnable App Password\u201d\u3068\u3057\u3066\u3001Create new password\u3068\u3059\u308b\u306816\u6587\u5b57\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<p>\u3053\u308c\u3092API\u3092\u4f7f\u3046\u30a2\u30d7\u30ea\u306b\u30b3\u30d4\u30da\u3057\u305f\u308a\u8ee2\u8a18\u3057\u3066\u8a18\u61b6\u3055\u305b\u3066\u304a\u3051\u3070\u3088\u3044\u3068\u3002<\/p>\n<p>(\u201cABCD EFGH JKLM NPQR\u201d\u306e\u3088\u3046\u306b\u7a7a\u767d\u3067\u533a\u5207\u3089\u308c\u3066\u3044\u308b\u304c\u3001\u7a7a\u767d\u306f\u3042\u3063\u3066\u3082\u306a\u304f\u3066\u3082\u3088\u3044)<\/p>\n<p>Create new password\u3057\u3066\u306b\u4fdd\u5b58\u3057\u305f\u5f8c\u306b\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<p>Secret\u306f\u5e73\u6587\u8868\u793a\u3059\u308b\u304f\u305b\u306b\u3001\u3053\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u4fdd\u5b58\u5f8c\u306f\u8868\u793a\u3067\u304d\u306a\u304f\u306a\u308b\u306e\u304c\u5272\u306b\u5408\u308f\u306a\u3044\u6c17\u304c\u3059\u308b\u304c\u3002<\/p>\n<hr>\n<p>\u3061\u306a\u307f\u306b\u3053\u3046\u3044\u3046\u30a2\u30d7\u30ea\u30d1\u30b9\u30ef\u30fc\u30c9\u3068\u3044\u3046\u8003\u3048\u65b9\u306fGoogle\u30b5\u30fc\u30d3\u30b9\u306a\u3093\u304b\u3067\u3082\u3042\u308a\u307e\u3059\u306d\u3002<\/p>\n<p>Google\u3067\u306fIMAP\u3067Gmail\u3092\u4f7f\u3046\u5834\u5408\u306a\u3069\u306bOAuth2.0\u3092\u4f7f\u3046\u3053\u3068\u3092\u63a8\u5968\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u3053\u306e\u8a8d\u8a3c\u624b\u7d9a\u304d\u306e\u4e2d\u30672\u8981\u7d20\u8a8d\u8a3c\u3092\u884c\u3063\u305f\u308a\u3059\u308b\u308f\u3051\u3067\u3059\u306d\u3002<\/p>\n<p>\u50d5\u304c\u4f7f\u3063\u3066\u3044\u308bThunderbird\u306f\u3053\u308c\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u304c\u3001\u3053\u306e\u3088\u3046\u306a\u30a2\u30d7\u30ea\u306f\u9650\u3089\u308c\u308b\u3002<\/p>\n<p>\u305d\u3053\u3067\u30a2\u30d7\u30ea\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u767a\u884c\u3057\u3066\u4f7f\u3046\u3068\u3044\u3046\u9078\u629e\u80a2\u3092\u7528\u610f\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u30a2\u30d7\u30ea\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u6f0f\u6d29\u3057\u305f\u3068\u3057\u3066\u3082\u7528\u9014\u304c\u9650\u3089\u308c\u308b\u3057\u3001\u5f8c\u304b\u3089\u62b9\u6d88\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<p>\u3053\u306e\u305f\u30812\u8981\u7d20\u8a8d\u8a3c\u306e\u88dc\u5b8c\u306b\u4f7f\u308f\u308c\u308b\u3053\u3068\u304c\u3042\u308b\u3068\u3002<\/p>\n<hr>\n<p>\u3061\u306a\u307f\u306bTOTP\u304c\u4f7f\u3048\u306a\u304f\u306a\u3063\u305f\u3068\u304d\u306e\u30ef\u30fc\u30af\u30a2\u30e9\u30a6\u30f3\u30c9\u3067\u3059\u304c\u3001<\/p>\n<p>\u30d7\u30e9\u30b0\u30a4\u30f3\u30d5\u30a9\u30eb\u30c0\u304b\u3089\u540c\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5f85\u907f\u3059\u308b\u3068\u3044\u3046\u65b9\u6cd5\u304c\u7d39\u4ecb\u3055\u308c\u3066\u3044\u305f\u3002<\/p>\n<p>\u5f53\u305f\u308a\u524d\u3067\u3059\u304c\u3001\u30b5\u30fc\u30d0\u30fc\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u3092\u64cd\u4f5c\u51fa\u6765\u308b\u4eba\u306a\u3089\u306a\u3093\u3068\u3067\u3082\u306a\u308b\u308f\u3051\u3060\u3002<\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u554f\u984c\u306a\u3044\u3067\u3059\u306d\u3002<\/p>\n<hr>\n<p>\u3042\u3068\u306f\u3053\u306e\u30b5\u30fc\u30d0\u30fc\u3067\u5358\u7d14\u306a\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u306b\u983c\u3063\u3066\u308b\u306e\u306fSMTP-AUTH\u3050\u3089\u3044\u304b\u306a\u3041\u3002<\/p>\n<p>IMAP\u306fTLS\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a3c\u660e\u66f8\u3067\u306e\u8a8d\u8a3c\u3092\u3084\u3063\u3066\u3044\u308b\u3051\u3069\u3001<\/p>\n<p>SMTP\u306e\u65b9\u306f\u3069\u3046\u3082\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u306e\u3067\u3001\u3042\u304d\u3089\u3081\u3066\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u3002<\/p>\n<p>\u305f\u3060\u3057Linux\u81ea\u4f53\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3068\u306f\u5225\u306e\u3082\u306e\u3092\u4f7f\u3063\u3066\u306f\u3044\u308b\u3093\u3060\u3051\u3069\u3002<\/p>\n<p>(Postfix\u7528\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u3063\u3066\u3042\u308b)<\/p>\n<p>\u3053\u308c\u3053\u305d\u30a2\u30d7\u30ea\u30d1\u30b9\u30ef\u30fc\u30c9\u307f\u305f\u3044\u306a\u3082\u3093\u3060\u3057\u3001SMTP\u306a\u3089\u305d\u3053\u307e\u3067\u795e\u7d4c\u8cea\u306b\u8003\u3048\u306a\u304f\u3066\u3082\u3044\u3044\u304b\u306a\u3068\u304b\u3002<\/p>\n<p>\u305d\u3093\u306a\u308f\u3051\u3067\u8efd\u8996\u3057\u3066\u3044\u308b\u3068\u3053\u308d\u3067\u3059\u3051\u3069\u3001\u3042\u30681\u3064\u3063\u3066\u306a\u308b\u3068\u306a\u3093\u3068\u3082\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b5\u30fc\u30d0\u30fc\u306b\u624b\u3092\u5165\u308c\u3066\u3044\u308b\u8a71\u3092\u66f8\u304d\u307e\u3057\u305f\u304c\u3001 \u3053\u306eBlog\u306e\u30ed\u30b0\u30a4\u30f3\u3092\u30d1\u30b9\u30ef\u30fc\u30c9+TOTP\u306e2\u8981\u7d20\u8a8d\u8a3c\u306b\u3057\u305f\u3002 WordPress\u306b\u306f\u305d\u306e\u305f\u3081\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u3042\u308b\u306e\u3067\u7c21\u5358\u3067\u3042\u308b\u3002 \u3068\u3053\u308d\u3067\u3001\u3053\u306eBlog\u304cWordPress\u306b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-6635","post","type-post","status-publish","format-standard","hentry","category-computer"],"_links":{"self":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/6635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6635"}],"version-history":[{"count":1,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/6635\/revisions"}],"predecessor-version":[{"id":6636,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=\/wp\/v2\/posts\/6635\/revisions\/6636"}],"wp:attachment":[{"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hdmr.org\/d\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}