{"id":168,"date":"2019-07-03T17:48:42","date_gmt":"2019-07-03T09:48:42","guid":{"rendered":"https:\/\/cloudbool.com\/archive\/?p=168"},"modified":"2019-07-03T17:48:42","modified_gmt":"2019-07-03T09:48:42","slug":"mosquitto-tls","status":"publish","type":"post","link":"https:\/\/cloudbool.com\/archive\/mosquitto-tls.html","title":{"rendered":"Mosquitto\u914d\u7f6eTLS\u8bb0\u5f55"},"content":{"rendered":"<p>\u6700\u8fd1\u6709\u4e2a\u9879\u76ee\u9700\u8981\u7528\u5230MQTT\u534f\u8bae\uff0c\u4e14\u5ba2\u6237\u7aef\u9700\u8981\u8fde\u63a5\u5230\u516c\u7f51\u90e8\u7f72\u7684Broker\uff0c\u76f4\u63a5\u88f8\u5954\u80af\u5b9a\u662f\u4e0d\u53ef\u53d6\u7684\u4e86\uff0c\u81f3\u5c11\u9700\u8981\u505a\u4e2a\u5355\u5411\u8ba4\u8bc1\uff0c\u6298\u817e\u4e86\u5c06\u8fd1\u534a\u4e2a\u5de5\u4f5c\u65e5\uff0c\u671f\u95f4\u4e5f\u9047\u5230\u51e0\u4e2a\u5751\uff0c\u8fd9\u91cc\u505a\u4e2a\u8bb0\u5f55\u3002<br \/>\n<!--more--><\/p>\n<h2>\u73af\u5883<\/h2>\n<p>\u5148\u6765\u8bf4\u8bf4\u73af\u5883\u3002<br \/>\n\u4f7f\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u662fCentOS7\uff0c\u56e0\u4e3a\u4e0a\u7ebf\u751f\u4ea7\u73af\u5883\u4e5f\u662f\u9009\u7684CentOS7\uff0c\u6240\u4ee5\u76f4\u63a5\u5728CentOS7\u8fdb\u884c\u6d4b\u8bd5\u914d\u7f6e\u6709\u95ee\u9898\u4e5f\u597d\u5904\u7406\u3002<br \/>\n\u9664\u4e86CentOS7\u4e4b\u5916\uff0c\u8981\u914d\u7f6eMQTT Broker\u80af\u5b9a\u9700\u8981\u5bf9\u5e94\u7684\u670d\u52a1\u5668\u4e86\uff0c\u670d\u52a1\u5668\u6211\u8fd9\u8fb9\u9009\u7684\u662f<strong>EPEL<\/strong>\u6e90\u91cc\u9762\u81ea\u5e26\u7684mosquitto\uff0c\u53ef\u4ee5\u901a\u8fc7\u5982\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<blockquote><p>\n  yum install mosquitto\n<\/p><\/blockquote>\n<p>\u5b89\u88c5\u6210\u529f\u4e4b\u540e\uff0c\u5176\u914d\u7f6e\u6587\u4ef6\u76ee\u5f55\u5728<strong>\/etc\/mosquitto\/<\/strong>\uff0c\u4e3b\u914d\u7f6e\u6587\u4ef6\u662f<strong>mosquitto.conf<\/strong>\u3002<\/p>\n<h2>\u4e3amosquitto\u751f\u6210\u81ea\u7b7e\u540d\u8bc1\u4e66<\/h2>\n<p>\u751f\u6210\u6240\u9700\u8981\u7684\u8bc1\u4e66\u6587\u4ef6\u6b65\u9aa4\uff0c\u8bf7\u79fb\u6b65\u8fd9\u91cc\uff1a<a href=\"https:\/\/cloudbool.com\/archive\/openssl-certificate-command.html\">openssl ssl\u8bc1\u4e66\u76f8\u5173\u547d\u4ee4<\/a>\uff0c\u53c2\u8003\u5176\u4e2d\u7684<strong>\u5229\u7528OpenSSL\u751f\u6210\u81ea\u7b7e\u540d\u8bc1\u4e66<\/strong>\u90e8\u5206\u3002<br \/>\n\u751f\u6210\u8fc7\u7a0b\u5f88\u7b80\u5355\uff0c\u53ea\u8bf4\u51e0\u53e5\u9700\u8981\u6ce8\u610f\u7684\uff1a<\/p>\n<ul>\n<li>\u7531\u4e8e\u662f\u7269\u8054\u7f51\u8bbe\u5907\u4f7f\u7528\uff0c\u5efa\u8bae\u751f\u6210\u7684\u8bc1\u4e66\u6709\u6548\u671f\u9002\u5f53\u957f\u4e45\u4e00\u4e9b\u3002<\/li>\n<li>\u7b7e\u53d1server.crt\u8fd9\u4e00\u6b65\u5c24\u5176\u8981\u6ce8\u610fCommon Name (eg, your name or your server\u2019s hostname) []\u8fd9\u4e00\u680f\uff0c\u6211\u5c31\u662f\u56e0\u4e3a\u4e4b\u524d\u60f3\u4e3aIP\u76f4\u63a5\u7533\u8bf7\u8bc1\u4e66\uff0c\u5bfc\u81f4\u540e\u7eed\u5ba2\u6237\u7aef\u8fde\u4e0d\u4e0aBroker\u3002<\/li>\n<li>\u867d\u7136\u7a0d\u52a0\u6298\u817e\u5c31\u80fd\u4e3aIP\u7b7e\u53d1\u8bc1\u4e66\uff0c\u4f46\u662f\u8003\u8651\u540e\u671f\u670d\u52a1\u5668\u7aef\u8fd0\u7ef4\u3001\u8d1f\u8f7d\u5747\u8861\u7b49\uff0c\u5efa\u8bae\u5ba2\u6237\u7aef\u4f7f\u7528\u57df\u540d\u89e3\u6790IP\u7684\u65b9\u5f0f\u8fde\u63a5\u3002<\/li>\n<\/ul>\n<p>\u5982\u679c\u8fc7\u7a0b\u6ca1\u95ee\u9898\uff0c\u5e94\u8be5\u4f1a\u6709\u5982\u4e0b\u51e0\u4e2a\u6587\u4ef6\uff1a<strong>ca.crt  ca.key  ca.srl  server.crt  server.csr  server.key<\/strong>\u3002<\/p>\n<h2>\u914d\u7f6eMosquitto\u5355\u5411\u8ba4\u8bc1<\/h2>\n<p>\u751f\u6210\u76f8\u5173\u8bc1\u4e66\u4e4b\u540e\uff0c\u4e0b\u4e00\u6b65\u5c31\u662f\u914d\u7f6emosquitto\u542f\u7528TLS\u4e86\u3002<br \/>\nmosquitto\u9ed8\u8ba4\u76d1\u542c\u57281883\u7aef\u53e3\uff0c\u65e0\u52a0\u5bc6\u65e0\u8ba4\u8bc1\uff0c\u53ea\u9700\u8981IP\u53ca\u7aef\u53e3\u53f7\u5c31\u80fd\u968f\u610f\u8fde\u63a5\uff0c\u5982\u679c\u4e0d\u9700\u8981\u53ef\u4ee5\u5220\u9664\u9ed8\u8ba4\u7684\u914d\u7f6e\uff0c\u6211\u8fd9\u8fb9\u9ed8\u8ba4\u4e0d\u6539\u53d8\u8fd9\u90e8\u5206\u5185\u5bb9\u914d\u7f6e\u3002<br \/>\n\u7f16\u8f91<strong>\/etc\/mosquitto\/mosquitto.conf<\/strong>\uff0c\u5728\u6587\u4ef6\u672b\u5c3e\u589e\u52a0\u5982\u4e0b\u5185\u5bb9\uff1a<\/p>\n<pre><code>port 8883\ncafile \/etc\/mosquitto\/certs\/ca.crt\nkeyfile \/etc\/mosquitto\/certs\/server.key\ncertfile \/etc\/mosquitto\/certs\/server.crt\ntls_version tlsv1\n<\/code><\/pre>\n<p>\u5355\u5411\u8ba4\u8bc1\u914d\u7f6e\u5f88\u7b80\u5355\uff0c\u5c31\u662f\u6307\u5b9a\u7aef\u53e3\u3001\u8bc1\u4e66\u6587\u4ef6\u53caTLS\u7248\u672c\uff0c\u5b9e\u9645\u914d\u7f6e\u9700\u8981\u6ce8\u610f\u8bc1\u4e66\u6587\u4ef6\u7684\u5b58\u653e\u4f4d\u7f6e\u3002<\/p>\n<h2>\u6d4b\u8bd5\u914d\u7f6e\u6587\u4ef6<\/h2>\n<p>\u66f4\u6539\u914d\u7f6e\u6587\u4ef6\u4e4b\u540e\uff0c\u6700\u597d\u5148\u6d4b\u8bd5\u4e00\u4e0b\u914d\u7f6e\u6587\u4ef6\uff0c\u786e\u4fdd\u914d\u7f6e\u6307\u4ee4\u90fd\u6b63\u786e\u518d\u91cd\u542f\u670d\u52a1\u7aef\uff0c\u76f8\u5173\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<pre><code>[root@cloudbool ~]# mosquitto -c \/etc\/mosquitto\/mosquitto.conf\n1562146147: mosquitto version 1.5.8 starting\n1562146147: Config loaded from \/etc\/mosquitto\/mosquitto.conf.\n1562146147: Opening ipv4 listen socket on port 8883.\n1562146147: Opening ipv6 listen socket on port 8883.\n<\/code><\/pre>\n<p>\u5982\u679c\u914d\u7f6e\u6587\u4ef6\u6b63\u786e\uff0c\u8f93\u51fa\u5e94\u8be5\u7c7b\u4f3c\u5982\u4e0a\uff0c\u4e14\u670d\u52a1\u7aef\u5e94\u8be5\u5728\u5bf9\u5e94\u7684\u7aef\u53e3\u76d1\u542c\u8bf7\u6c42\u3002<\/p>\n<h2>\u9632\u706b\u5899\u653e\u884c<\/h2>\n<p>\u5982\u679c\u7cfb\u7edf\u9632\u706b\u5899\u5904\u4e8e\u5f00\u542f\u72b6\u6001\uff0c\u8fd8\u9700\u8981\u5728\u9632\u706b\u5899\u4e0a\u653e\u884c\u6307\u5b9a\u7684\u7aef\u53e3\uff0c\u4ee5\u4e0a\u9762\u5b9a\u76848883\u7aef\u53e3\u4e3a\u4f8b\uff1a<\/p>\n<pre><code>firewall-cmd --permanent --add-port=8883\/tcp\nfirewall-cmd --reload\n<\/code><\/pre>\n<h2>\u5ba2\u6237\u7aef\u8fde\u63a5<\/h2>\n<p>\u914d\u7f6e\u5b8c\u670d\u52a1\u7aef\u4e4b\u540e\uff0c\u53ef\u4ee5\u6d4b\u8bd5\u4e00\u4e0b\u5ba2\u6237\u7aef\u7684\u8fde\u63a5\u60c5\u51b5\u3002\u6211\u8fd9\u91cc\u4f7f\u7528MQTTBox\u4f5c\u4e3aMQTT\u5ba2\u6237\u7aef\u8fdb\u884c\u6d4b\u8bd5\u3002<br \/>\n\u53ea\u9700\u5c06\u4e0a\u8ff0\u751f\u6210\u7684ca.crt\u590d\u5236\u5230\u5ba2\u6237\u7aef\uff0cMQTT\u76f8\u5173\u914d\u7f6e\u622a\u56fe\u5982\u4e0b\uff1a<br \/>\n<img decoding=\"async\" src=\"https:\/\/x.cloudbool.com\/img\/2019\/07\/03\/mqttbox-ca-certificate-only.png\" alt=\"mqttbox-ca-certificate-only.png\" \/><br \/>\n\u5982\u679c\u914d\u7f6e\u6ca1\u95ee\u9898\uff0c\u5230\u8fd9\u4e00\u6b65\uff0c\u5ba2\u6237\u7aef\u5e94\u8be5\u53ef\u4ee5\u6b63\u786e\u8fde\u63a5\u4e0aBroker\u4e86\u3002<\/p>\n<h2>PHP\u8fde\u63a5TLS\u52a0\u5bc6\u7684mosquitto\u7684Broker<\/h2>\n<p>\u4e1a\u52a1\u4ee3\u7801\u6765\u8bf4\uff0c\u6211\u6d4b\u8bd5\u4e86\u4e24\u4e2a\u5e93\uff0c\u90fd\u80fd\u6b63\u786e\u8fde\u63a5\u4e0a\u901a\u8fc7TLS\u52a0\u5bc6\u7684mosquitto\u7684Broker\uff0c\u4ee3\u7801\u5730\u5740\u5982\u4e0b\uff1a<br \/>\nhttps:\/\/github.com\/karpy47\/PhpMqttClient<br \/>\nhttps:\/\/github.com\/walkor\/mqtt<\/p>\n<h2>Laravel\u4e0bworkerman\u8fde\u63a5MQTT Broker<\/h2>\n<p>\u9996\u5148\uff0c\u4f7f\u7528composer\u5b89\u88c5workerman\u7684\u5bf9\u5e94\u4f9d\u8d56\u5305\uff0c\u7136\u540e\u521b\u5efa\u4e00\u4e2a\u547d\u4ee4\u884c\u547d\u4ee4\uff0c\u4e24\u4e2a\u6b65\u9aa4\u5bf9\u5e94\u7684\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<pre><code>composer require workerman\/mqtt\nphp artisan make:command mqtt\n<\/code><\/pre>\n<p>\u63a5\u4e0b\u6765\u7f16\u8f91<strong>app\/Console\/Commands\/mqtt.php<\/strong>\uff0chandle\u65b9\u6cd5\u90e8\u5206\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code>public function handle()\n    {\n        global $argv;\n        $arg = $this-&gt;argument('action');\n        $argv [1] = $arg;\n        $worker = new Worker();\n        $worker-&gt;count = 1;\n        $worker-&gt;onWorkerStart = function () {\n            $mqtt = new \\Workerman\\Mqtt\\Client(\"mqtt:\/\/\" . env('MQTT_HOST') . \":\" . env('MQTT_PORT'), array(\n                'ssl' =&gt; array(\n                    'cafile' =&gt; '\/path\/mqtt\/ca.crt',\n                    'verify_peer' =&gt; false,\n                    'allow_self_signed' =&gt; true,\n                ),\n                'username' =&gt; env('MQTT_USER'),\n                'password' =&gt; env('MQTT_PASSWORD'),\n                'debug' =&gt; env('MQTT_DEBUG'),\n                'client_id' =&gt; $this-&gt;client_id,\n                'will' =&gt; [\n                    'topic' =&gt; 'status\/' . $this-&gt;client_id,\n                    'content' =&gt; 0,\n                    'qos' =&gt; 2,\n                    'retain' =&gt; true,\n                ]\n            ));\n            $mqtt-&gt;transport = 'ssl';\n            $mqtt-&gt;onConnect = function ($mqtt) {\n                $mqtt-&gt;subscribe('\/iot\/#');\n            };\n            $mqtt-&gt;onMessage = function ($topic, $data, $mqtt) {\n                            \/\/some code....\n            };\n            $mqtt-&gt;connect();\n        };\n        Worker::runAll();\n}\n<\/code><\/pre>\n<p>\u5982\u679c\u4e00\u5207\u6b63\u5e38\uff0c\u5c31\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u901a\u8fc7<strong>artisan<\/strong>\u547d\u4ee4\u6765\u8fde\u63a5\u5e76\u76d1\u542c\u5bf9\u5e94\u7684topic\uff1a<\/p>\n<pre><code>php artisan mqtt start\n<\/code><\/pre>\n<p>\u5b9e\u9645\u4f7f\u7528\u6765\u8bf4\uff0c\u56e0\u4e3a\u6211\u4eec\u540e\u7aef\u6846\u67b6\u4f7f\u7528\u7684\u662fLaravel\uff0c\u5982\u679c\u9700\u8981\u5728\u547d\u4ee4\u884c\u5f00\u542f\u4e24\u4e2a\u8fdb\u7a0b\u7684\u8bdd\uff0c\u4f1a\u62a5\u9519\uff0c\u8fd9\u95ee\u9898\u641c\u904d\u4e86google\u4e5f\u65e0\u89e3\uff1a<\/p>\n<pre><code>Workerman[artisan] start in DEBUG mode\nWorkerman[artisan] already running\n<\/code><\/pre>\n<p>\u5230\u76ee\u524d\u4e3a\u6b62\uff0c\u5982\u679c\u60f3\u540c\u65f6\u542f\u7528\u4e24\u4e2a\u8fdb\u7a0b\uff0c\u6211\u7684\u89e3\u51b3\u529e\u6cd5\u662f\u518d\u542f\u7528\u4e00\u4e2a\u65b0\u7684MQTT\u5e93\uff0c\u4e5f\u5c31\u662f\u4e0a\u9762\u5217\u51fa\u7684\u4e24\u4e2a\u4e2d\u7684\u53e6\u4e00\u4e2a\u3002<\/p>\n<h2>\u914d\u7f6e\u8fc7\u7a0b\u76f8\u5173\u62a5\u9519<\/h2>\n<p>\u62a5\u95191\uff1a<\/p>\n<pre><code>openssl verify -CAfile ca.crt server.crt\nC = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = mqtt.cloudbool.com\nerror 18 at 0 depth lookup: self signed certificate\nerror server.crt: verification failed\n<\/code><\/pre>\n<p>\u5982\u679c\u51fa\u73b0\u8fd9\u4e2a\u95ee\u9898\uff0c\u53ef\u80fd\u662f\u5728\u751f\u6210\u81ea\u7b7e\u540d\u8bc1\u4e66\u65f6\uff0c\u4e24\u4e2a<strong>Common Name<\/strong>\u91cd\u590d\u4e86\uff0c\u89e3\u51b3\u529e\u6cd5\u662f\u751f\u6210\u8fc7\u7a0b\u8f93\u5165\u4e0d\u540c\u7684\u5185\u5bb9\u5230<strong>Common Name<\/strong>\u3002<br \/>\n\u62a5\u95192\uff1a<\/p>\n<pre><code>1562125450: New connection from 106.6.xxx.xxx on port 8883.\n1562125451: Socket error on client &lt;unknown&gt;, disconnecting.\n[106.52.xxx.xxx]:188 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJeNn0rtOBYwvV5VuV895RT7GpXsXKEjt5q2hnQS17OMCbee0a0FIdYkQERLMoW3Qo1J25MvX95\/z1By\/vWgF1w=\n1562125452: New connection from 106.6.xxx.xxx on port 8883.\n1562125452: Socket error on client &lt;unknown&gt;, disconnecting.\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u9519\u8bef\uff0c\u8bf7\u68c0\u67e5\u7b7e\u53d1\u8bc1\u4e66\u8fc7\u7a0b\u4e2d<strong>Common Name<\/strong>\u662f\u5426\u8f93\u5165\u7684\u662fIP\u6216\u8005\u4e3b\u673a\u540d\u3002\u6700\u7b80\u5355\u7684\u89e3\u51b3\u529e\u6cd5\u662f\uff0c\u4f7f\u7528\u57df\u540d\u4ee3\u66ffIP\u6216\u8005\u4e3b\u673a\u540d\u8fdb\u884c\u8bc1\u4e66\u7b7e\u53d1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u6709\u4e2a\u9879\u76ee\u9700\u8981\u7528\u5230MQTT\u534f\u8bae\uff0c\u4e14\u5ba2\u6237\u7aef\u9700\u8981\u8fde\u63a5\u5230\u516c\u7f51\u90e8\u7f72\u7684Broker\uff0c\u76f4\u63a5\u88f8\u5954\u80af\u5b9a\u662f\u4e0d\u53ef\u53d6\u7684\u4e86\uff0c\u81f3\u5c11\u9700\u8981 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/cloudbool.com\/archive\/mosquitto-tls.html\"> <span class=\"screen-reader-text\">Mosquitto\u914d\u7f6eTLS\u8bb0\u5f55<\/span> \u67e5\u770b\u5168\u6587 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[8],"tags":[74,163],"class_list":["post-168","post","type-post","status-publish","format-standard","hentry","category-tech","tag-mqtt","tag-openssl"],"_links":{"self":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/comments?post=168"}],"version-history":[{"count":0,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/168\/revisions"}],"wp:attachment":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/media?parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/categories?post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/tags?post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}