{"id":461,"date":"2025-04-15T23:26:07","date_gmt":"2025-04-15T14:26:07","guid":{"rendered":"https:\/\/qussuq.pro\/wordpress\/?p=461"},"modified":"2025-07-24T08:23:32","modified_gmt":"2025-07-23T23:23:32","slug":"cetbot-ssl","status":"publish","type":"post","link":"https:\/\/www.lapidem.pw\/wordpress\/?p=461","title":{"rendered":"cetbot\/SSL"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>certbot<\/strong><\/h2>\n\n\n\n<p>apt -y install certbot<\/p>\n\n\n\n<p>close port 80: \/etc\/apache2\/ports.conf<\/p>\n\n\n\n<p>sudo cerbot certonly<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>SSL<\/strong><\/h2>\n\n\n\n<p>\/etc\/apache2\/sites-available\/default-ssl.conf<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>FDQN<\/li>\n\n\n\n<li><strong>SSLCertificateFile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/strong><strong>\/etc\/letsencrypt\/live\/lapidem.pw\/cert.pem<\/strong><\/li>\n\n\n\n<li><strong>SSLCertificateKeyFile&nbsp;&nbsp;&nbsp;\/etc\/letsencrypt\/live\/lapidem.pw\/privkey.pem<\/strong><\/li>\n\n\n\n<li><strong>SSLCertificateChainFile&nbsp;\/etc\/letsencrypt\/live\/lapidem.pw\/chain.pem<\/strong><\/li>\n\n\n\n<li><\/li>\n\n\n\n<li>&lt;FileMatch \u00a5.php&gt;\n<ul class=\"wp-block-list\">\n<li>setHandler &#8220;proxy:unix:\/var\/run\/php\/php8.2-fpm.sock|fcgi:\/\/localhost\/&#8221;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>&lt;\/FileMatch&gt;<\/li>\n<\/ul>\n\n\n\n<p>sudo a2ensite default-ssl<\/p>\n\n\n\n<p>sudo a2enmod ssl<\/p>\n\n\n\n<p>systemctl restart apache2<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>certbot apt -y install certbot close port 80: \/etc &hellip;<\/p>\n","protected":false},"author":1,"featured_media":16,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,2],"tags":[],"class_list":["post-461","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian-linux","category-linux"],"_links":{"self":[{"href":"https:\/\/www.lapidem.pw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lapidem.pw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lapidem.pw\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lapidem.pw\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lapidem.pw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=461"}],"version-history":[{"count":2,"href":"https:\/\/www.lapidem.pw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/461\/revisions"}],"predecessor-version":[{"id":748,"href":"https:\/\/www.lapidem.pw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/461\/revisions\/748"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lapidem.pw\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/16"}],"wp:attachment":[{"href":"https:\/\/www.lapidem.pw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lapidem.pw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lapidem.pw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}