{"id":15232,"date":"2023-07-21T12:56:33","date_gmt":"2023-07-21T18:56:33","guid":{"rendered":"http:\/\/sada.services\/?p=15232"},"modified":"2023-07-21T13:03:26","modified_gmt":"2023-07-21T19:03:26","slug":"lets-encrypt-casa","status":"publish","type":"post","link":"https:\/\/sada.services\/?p=15232","title":{"rendered":"Let&#8217;s encrypt: Casa"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li>Actualmente tenemos el virtual host de apache as\u00ed<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/apache2\/sites-available\/sada.services.conf<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Contenido<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;VirtualHost *:80&gt;\n\n #************************************************************************\n #***************** DATOS DEL SITIO WEB ********************************\n #************************************************************************\n ServerName sada.services\n ServerAlias www.sada.services\n ErrorLog \/var\/log\/apache2\/sada_services_80.casa-error.log\n CustomLog \/var\/log\/apache2\/sada_services_80.casa-access.log common\n\n #************************************************************************\n #******************** DATOS DEL WEBMASTER *****************************\n #************************************************************************\n ServerAdmin gustavomatamoros@sada.services\n Header add Author \"Gustavo Matamoros Gonz\u00e1lez\"\n\n #************************************************************************\n #************************ DATOS DEL REDIRECCIONAMIENTO ****************\n #************************************************************************\n\n  DocumentRoot \/var\/www\/html\/Sitios\/sada.services\n\n&lt;\/VirtualHost&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Instalamos certbot<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt install certbot python3-certbot-apache<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Instalamos certbot<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo certbot --apache<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Nos solitica un correo<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>Saving debug log to \/var\/log\/letsencrypt\/letsencrypt.log\nEnter email address (used for urgent renewal and security notices)\n (Enter 'c' to cancel): gustavo.matamoros@gmail.com\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Aceptar los terminos<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>Please read the Terms of Service at\nhttps:\/\/letsencrypt.org\/documents\/LE-SA-v1.3-September-21-2022.pdf. You must\nagree in order to register with the ACME server. Do you agree?\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n(Y)es\/(N)o: Y\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Registrarse<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>Would you be willing, once your first certificate is successfully issued, to\nshare your email address with the Electronic Frontier Foundation, a founding\npartner of the Let's Encrypt project and the non-profit organization that\ndevelops Certbot? We'd like to send you email about our work encrypting the web,\nEFF news, campaigns, and ways to support digital freedom.\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n(Y)es\/(N)o: N\nAccount registered.<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Y los dominios que deseamos certificar<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>Which names would you like to activate HTTPS for?\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n1: sada.casa\n2: sada.services\n3: www.sada.services\n4: www.sada.casa\n5: sae2.casa\n6: www.sae2.casa\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nSelect the appropriate numbers separated by commas and\/or spaces, or leave input\nblank to select all options shown (Enter 'c' to cancel): 2 3\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Y nos certifica<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>Requesting a certificate for sada.services and www.sada.services\n\nSuccessfully received certificate.\nCertificate is saved at: \/etc\/letsencrypt\/live\/sada.services\/fullchain.pem\nKey is saved at:         \/etc\/letsencrypt\/live\/sada.services\/privkey.pem\nThis certificate expires on 2023-10-19.\nThese files will be updated when the certificate renews.\nCertbot has set up a scheduled task to automatically renew this certificate in the background.\n\nDeploying certificate\nSuccessfully deployed certificate for sada.services to \/etc\/apache2\/sites-available\/sada.services-le-ssl.conf\nSuccessfully deployed certificate for www.sada.services to \/etc\/apache2\/sites-available\/sada.services-le-ssl.conf\nCongratulations! You have successfully enabled HTTPS on https:\/\/sada.services and https:\/\/www.sada.services\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nIf you like Certbot, please consider supporting our work by:\n * Donating to ISRG \/ Let's Encrypt:   https:\/\/letsencrypt.org\/donate\n * Donating to EFF:                    https:\/\/eff.org\/donate-le\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[538],"tags":[539],"class_list":["post-15232","post","type-post","status-publish","format-standard","hentry","category-casa","tag-cerbot"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"_links":{"self":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/15232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15232"}],"version-history":[{"count":4,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/15232\/revisions"}],"predecessor-version":[{"id":15237,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/15232\/revisions\/15237"}],"wp:attachment":[{"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}