{"id":7274,"date":"2020-12-20T21:52:06","date_gmt":"2020-12-21T02:52:06","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=7274"},"modified":"2020-12-29T12:26:29","modified_gmt":"2020-12-29T17:26:29","slug":"owntracks-websockets-mqtt-ssl-error","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=7274","title":{"rendered":"OwnTracks WebSockets MQTT SSL Error"},"content":{"rendered":"<p>A few weeks ago, we stopped getting location updates from OwnTracks on our phones. Checking the status, I see an error indicating that the connection failed because my certificate does not have a SAN. Which &#8230; true, it does not. I knew some consortium agreed that all certs should have SAN values (and RFCs had been updated to reflect this new direction). Evidently version 2.2.2 of OwnTracks has added SAN verification. I reissued the certificate from my CA and added a SAN. I had to put the cert on both my MQTT websockets reverse proxy and the mosquitto server; but, once both were using the new cert, OwnTracks connected and cleared through the queued updates.<\/p>\n<p><a href=\"https:\/\/www.rushworth.us\/lisa\/?attachment_id=7275\" rel=\"attachment wp-att-7275\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7275\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2020\/12\/Screenshot_2020-12-20-20-50-39-119.jpg\" alt=\"\" width=\"472\" height=\"313\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2020\/12\/Screenshot_2020-12-20-20-50-39-119.jpg 472w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2020\/12\/Screenshot_2020-12-20-20-50-39-119-300x199.jpg 300w\" sizes=\"auto, (max-width: 472px) 100vw, 472px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few weeks ago, we stopped getting location updates from OwnTracks on our phones. Checking the status, I see an error indicating that the connection failed because my certificate does not have a SAN. Which &#8230; true, it does not. I knew some consortium agreed that all certs should have SAN values (and RFCs had &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[63],"tags":[876,187,877],"class_list":["post-7274","post","type-post","status-publish","format-standard","hentry","category-home-automation","tag-mosquitto","tag-mqtt","tag-websockets"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/7274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7274"}],"version-history":[{"count":3,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/7274\/revisions"}],"predecessor-version":[{"id":7326,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/7274\/revisions\/7326"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}