{"id":1872,"date":"2016-11-02T00:28:02","date_gmt":"2016-11-01T23:28:02","guid":{"rendered":"http:\/\/monodes.com\/predaelli\/?p=1872"},"modified":"2016-11-02T00:28:02","modified_gmt":"2016-11-01T23:28:02","slug":"cert-for-both-www-and-plain-domain","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2016\/11\/02\/cert-for-both-www-and-plain-domain\/","title":{"rendered":"Cert for both www and plain domain"},"content":{"rendered":"<div class=\"regular contents\">\n<div class=\"cooked\">\n<p>Just a note for myself: renew Let&#8217;s Encrypt certificate to make it valid for both www and plain domain<\/p>\n<\/div>\n<\/div>\n<blockquote>\n<div class=\"regular contents\">\n<div class=\"cooked\">\n<p>You should be able to do that using the command you originally used to obtain the certificate. Add <code class=\"\" data-line=\"\">--force-renewal<\/code> to force the client to get a new certificate even if the current one isn&#8217;t close to expiring. Based on your earlier post, this would be something like:<\/p>\n<p><code class=\"\" data-line=\"\">.\/letsencrypt-auto --apache -d example.me -d www.example.me -d mysql.example.me --force-renewal<\/code><\/p>\n<p>Revocation isn&#8217;t needed &#8211; that&#8217;s something you only need to bother with if your private key is compromised.<\/p>\n<\/div>\n<\/div>\n<\/blockquote>\n<div class=\"regular contents\">\n<section class=\"post-menu-area clearfix\">\n<nav class=\"post-controls clearfix\">\n<div class=\"actions\">\u00a0Sorgente: <em><a href=\"https:\/\/community.letsencrypt.org\/t\/change-base-domain-name-for-lets-encrypt-ssl-certificate-in-certbot\/16955\">Change base domain name for Lets Encrypt SSL certificate in Certbot &#8211; Help &#8211; Let&#8217;s Encrypt Community Support<\/a><\/em><\/div>\n<\/nav>\n<\/section>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">Just a note for myself: renew Let&#8217;s Encrypt certificate to make it valid for both www and plain domain You should be able to do that using the command you originally used to obtain the certificate. Add &#8211;force-renewal to force the client to get a new certificate even if the current one isn&#8217;t close to&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2016\/11\/02\/cert-for-both-www-and-plain-domain\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[72],"tags":[],"class_list":["post-1872","post","type-post","status-publish","format-standard","hentry","category-documentations"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-uc","jetpack-related-posts":[{"id":1143,"url":"https:\/\/monodes.com\/predaelli\/2016\/03\/14\/how-to-secure-nginx-with-lets-encrypt-on-ubuntu-14-04-digitalocean\/","url_meta":{"origin":1872,"position":0},"title":"How To Secure Nginx with Let&#8217;s Encrypt on Ubuntu 14.04 | DigitalOcean","author":"Paolo Redaelli","date":"2016-03-14","format":false,"excerpt":"Following https:\/\/letsencrypt.readthedocs.org\/en\/latest\/using.html#installation you can obtain a nice SSL certificate for your own webservers; yet for those who likes NGinx like me this guide How To Secure Nginx with Let's Encrypt on Ubuntu 14.04 | DigitalOcean is also useful In this tutorial, we will show you how to use Let's Encrypt\u2026","rel":"","context":"In &quot;Software Libero&quot;","block_context":{"text":"Software Libero","link":"https:\/\/monodes.com\/predaelli\/category\/software\/software-libero\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5044,"url":"https:\/\/monodes.com\/predaelli\/2018\/12\/10\/dehydrated-a-bash-client-for-lets-encrypt-antoine-aflalo\/","url_meta":{"origin":1872,"position":1},"title":"Dehydrated: a bash client for Let&#8217;s Encrypt &#8211; Antoine Aflalo","author":"Paolo Redaelli","date":"2018-12-10","format":false,"excerpt":"Tutorial on how to use Dehydrated, a bash client for Let's Encrypt ACME Protocol. Dehydrated helps you take care of your SSL certificates. Source: Dehydrated: a bash client for Let's Encrypt - Antoine Aflalo Dehydrated: a bash client for Let\u2019s Encrypt Dehydrated was firstly known as letsencrypt.sh but because letsencrypt\u2026","rel":"","context":"In &quot;Web&quot;","block_context":{"text":"Web","link":"https:\/\/monodes.com\/predaelli\/category\/web\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2018\/12\/Acme_Dehydrated-1.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2018\/12\/Acme_Dehydrated-1.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2018\/12\/Acme_Dehydrated-1.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2018\/12\/Acme_Dehydrated-1.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":9460,"url":"https:\/\/monodes.com\/predaelli\/2022\/06\/20\/ntru-quantum-resistant-cryptography\/","url_meta":{"origin":1872,"position":2},"title":"NTRU \u2013Quantum resistant cryptography","author":"Paolo Redaelli","date":"2022-06-20","format":"link","excerpt":"NTRU \u2013 Software According to Wikipedia NTRU is an open-source public-key cryptosystem that uses lattice-based cryptography to encrypt and decrypt data. ... Unlike other popular public-key cryptosystems, it is resistant to attacks using Shor's algorithm. NTRUEncrypt was patented, but it was placed in the public domain in 2017. NTRUSign is\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2488,"url":"https:\/\/monodes.com\/predaelli\/2017\/05\/22\/mailx-gmail-e-certificati-gabriele-merli\/","url_meta":{"origin":1872,"position":3},"title":"mailx, gmail e certificati \u2013 Gabriele Merli","author":"Paolo Redaelli","date":"2017-05-22","format":false,"excerpt":"mailx, gmail e certificati \u2013 Gabriele Merli Interessante fonte di guide ed informazioni... Spesso mi capita di dover usare mailx da riga di comando per inviare semplici mail di notifica, generalmente all'interno di uno script. Il pacchetto mailx \u00e8 questo (in centos 7) ]# yum info mailx<br \/> Installed Packages<br\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6804,"url":"https:\/\/monodes.com\/predaelli\/2020\/03\/02\/how-to-join-a-domain-from-fedora-31\/","url_meta":{"origin":1872,"position":4},"title":"How to join a domain from Fedora 31","author":"Paolo Redaelli","date":"2020-03-02","format":false,"excerpt":"Once it was black magic, nowadays it is so simple: Join in Active Directory Domain 2019\/11\/12 I suspect it could have been simpler if I followed the installer, but I preferred to go on my own. \u00a0 \u00a0 Join in Windows Active Directory Domain with Realmd. This tutorial needs Windows\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10226,"url":"https:\/\/monodes.com\/predaelli\/2023\/02\/14\/how-to-join-a-linux-system-to-an-active-directory-domain\/","url_meta":{"origin":1872,"position":5},"title":"How to join a Linux system to an Active Directory domain","author":"Paolo Redaelli","date":"2023-02-14","format":false,"excerpt":"Do you need to centrally manage Linux systems and user accounts under an Active Directory domain? Here's how to do it. Source: How to join a Linux system to an Active Directory domain You will end up having a \/etc\/sssd\/sssd.conf file like this [sssd] domains = YOUR_DOMAIN config_file_version = 2\u2026","rel":"","context":"In &quot;Proprietary software&quot;","block_context":{"text":"Proprietary software","link":"https:\/\/monodes.com\/predaelli\/category\/software\/proprietary-software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2023\/02\/sudols10.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2023\/02\/sudols10.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2023\/02\/sudols10.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2023\/02\/sudols10.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2023\/02\/sudols10.png?resize=1050%2C600&ssl=1 3x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/1872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=1872"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/1872\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=1872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=1872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=1872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}