{"id":458,"date":"2019-04-01T04:03:33","date_gmt":"2019-04-01T04:03:33","guid":{"rendered":"http:\/\/kloxo.web.id\/?p=458"},"modified":"2019-04-01T08:33:19","modified_gmt":"2019-04-01T08:33:19","slug":"lets-encrypt-gagal-re-new","status":"publish","type":"post","link":"https:\/\/kloxo.web.id\/?p=458","title":{"rendered":"Let&#8217;s Encrypt Gagal Re-new"},"content":{"rendered":"\n<p>Hari ini dapat warning ssl dari web server yang ternyata berakhir pada 31 Maret per tanggal 1 April otomatis web spse tidak dapat diakses karena ssl expired.<\/p>\n\n\n\n<p>Cek ke dalam console dan coba update manual :<\/p>\n\n\n\n<p># .\/letsencrypt-auto &#8211;apache -d lpse.namakab.go.id<br> Traceback (most recent call last):<br>   File &#8220;\/tmp\/tmp.FTczzoL1tn\/fetch.py&#8221;, line 28, in <br>     from urllib.request import build_opener, HTTPHandler, HTTPSHandler<br> ImportError: No module named request<br> WARNING: unable to check for updates.<br> Traceback (most recent call last):<br>   File &#8220;&#8221;, line 16, in <br>   File &#8220;\/usr\/lib64\/python2.7\/distutils\/version.py&#8221;, line 140, in <strong>cmp<\/strong><br>     compare = cmp(self.version, other.version)<br> AttributeError: StrictVersion instance has no attribute &#8216;version&#8217;<br><\/p>\n\n\n\n<p>Gagal Son!&#8230;.<\/p>\n\n\n\n<p>Dicoba reinstal let&#8217;s encrypt..masih sama&#8230;untuk mengatasi secara cepat, terpaksa kembali ke http dulu..dan off kan ssl nya&#8230;hedeh!<\/p>\n\n\n\n<p>Setelah keluyuran ke mbah google, ada tuts yang menyarankan begini :<\/p>\n\n\n\n<p>1. enable software collection (SCL) &#8211; saya pake centos 6 ya&#8230;<\/p>\n\n\n\n<p>yum install centos-release-SCL<\/p>\n\n\n\n<p>2. install python 2.7 dan scl utils :<\/p>\n\n\n\n<p>yum update<\/p>\n\n\n\n<p>yum install scl-utils python27 python27-scldevel<\/p>\n\n\n\n<p>3. enable python 2.7 for bash<\/p>\n\n\n\n<p>scl enable python27 bash<\/p>\n\n\n\n<p>4. jalankan ulang let&#8217;s encrypt<\/p>\n\n\n\n<p>.\/letsencrypt-auto &#8211;verbose<\/p>\n\n\n\n<p>alhamdulillah ssl is back!<\/p>\n\n\n\n<p>sumber :  <br><a href=\"https:\/\/github.com\/certbot\/certbot\/issues\/1106\">(https:\/\/github.com\/certbot\/certbot\/issues\/1106<\/a>)<\/p>\n\n\n\n<p>catatan tambahan :<\/p>\n\n\n\n<p>edit file : \/usr\/local\/letsencrypt\/letsencrypt-auto-source\/pieces\/fetch.py cari dan ubah baris &#8220;urllib.request import build_opener, HTTPHandler, HTTPSHandle&#8230;&#8221; menjadi &#8220;urllib import build_opener, HTTPHandler, HTTPSHandler&#8230;&#8221;<\/p>\n\n\n\n<p>ujicoba menjalankan &#8220;.\/certbot-auto renew &#8211;dry-run &#8211;apache&#8221; semoga tidak ada error lanjutan.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hari ini dapat warning ssl dari web server yang ternyata berakhir pada 31 Maret per tanggal 1 April otomatis web spse tidak dapat diakses karena ssl expired. Cek ke dalam console dan coba update manual : # .\/letsencrypt-auto &#8211;apache -d lpse.namakab.go.id Traceback (most recent call last): File &#8220;\/tmp\/tmp.FTczzoL1tn\/fetch.py&#8221;, line 28, in from urllib.request import build_opener, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5],"tags":[],"class_list":["post-458","post","type-post","status-publish","format-standard","hentry","category-linux-server","category-spse"],"_links":{"self":[{"href":"https:\/\/kloxo.web.id\/index.php?rest_route=\/wp\/v2\/posts\/458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kloxo.web.id\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kloxo.web.id\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kloxo.web.id\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kloxo.web.id\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=458"}],"version-history":[{"count":2,"href":"https:\/\/kloxo.web.id\/index.php?rest_route=\/wp\/v2\/posts\/458\/revisions"}],"predecessor-version":[{"id":460,"href":"https:\/\/kloxo.web.id\/index.php?rest_route=\/wp\/v2\/posts\/458\/revisions\/460"}],"wp:attachment":[{"href":"https:\/\/kloxo.web.id\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kloxo.web.id\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kloxo.web.id\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}