{"id":426,"date":"2020-10-02T15:49:57","date_gmt":"2020-10-02T13:49:57","guid":{"rendered":"https:\/\/www.delixirpro.com\/blog\/?p=426"},"modified":"2020-10-02T15:49:59","modified_gmt":"2020-10-02T13:49:59","slug":"generer-un-certificat-wildcard-avec-certbot","status":"publish","type":"post","link":"https:\/\/www.delixirpro.com\/blog\/2020\/10\/02\/generer-un-certificat-wildcard-avec-certbot\/","title":{"rendered":"G\u00e9n\u00e9rer un certificat wildcard avec Certbot"},"content":{"rendered":"\n<p>Cerbot est install\u00e9 sur la machine en version 0.22 ou sup\u00e9rieure.<\/p>\n\n\n\n<p>plus d\u2019informations i\u00e7i&nbsp;:&nbsp;<a href=\"https:\/\/certbot.eff.org\/\">https:\/\/certbot.eff.org\/<\/a><\/p>\n\n\n\n<p>Pour g\u00e9n\u00e9rer un certificat wildcard valable pour le nom de domaine et tous ses sous domaines on entre la commande suivante&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo certbot certonly --manual -d *.ladnet.net --agree-tos --no-bootstrap<\/code><\/pre>\n\n\n\n<p><em>Remplacer *.ladnet.net par votre nom de domaine<\/em><\/p>\n\n\n\n<p>en sortie, certbot nous demande d\u2019ajouter une entr\u00e9e DNS de type TXT \u00e0 notre nom de domaine&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-------------------------------------------------------------------------------\nPlease deploy a DNS TXT record under the name\n_acme-challenge.ladnet.net with the following value:\n\ndp3sI3lfdmjeD-3RH-Y9UGTt8HdxFtqZ63-SMC1zuDg\n\nBefore continuing, verify the record is deployed.\n-------------------------------------------------------------------------------\nPress Enter to Continue\n\n-------------------------------------------------------------------------------\nPlease deploy a DNS TXT record under the name\n_acme-challenge.ladnet.net with the following value:\n\n8UJb3N0Rya-wQxbr3OhSHsfExE1SnTukmnliPOewtKI\n\nBefore continuing, verify the record is deployed.\n-------------------------------------------------------------------------------\nPress Enter to Continue<\/code><\/pre>\n\n\n\n<p>Patienter une dizaine de minutes pour que la propagation de l\u2019entr\u00e9e DSN soit effective avant de poursuivre.<\/p>\n\n\n\n<p>Si tout est ok certbot nous renvoi un message de confirmation&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>IMPORTANT NOTES:\n - Congratulations! Your certificate and chain have been saved at:\n \u00a0 \/etc\/letsencrypt\/...\/fullchain.pem\n \u00a0 Your key file has been saved at:\n \u00a0 \/etc\/letsencrypt\/...\/privkey.pem\n \u00a0 Your cert will expire on 2018-08-22. To obtain a new or tweaked\n \u00a0 version of this certificate in the future, simply run certbot\n \u00a0 again. To non-interactively renew *all* of your certificates, run\n \u00a0 \"certbot renew\"<\/code><\/pre>\n\n\n\n<p>copier<\/p>\n\n\n\n<p>Plus d\u2019informations&nbsp;:&nbsp;<a href=\"https:\/\/levelup.gitconnected.com\/how-to-get-certbot-wildcard-certificates-3d25618a81e0\">https:\/\/levelup.gitconnected.com\/how-to-get-certbot-wildcard-certificates-3d25618a81e0<\/a><\/p>\n\n\n\n<p>Source : <a href=\"https:\/\/ladnet.net\/generer-un-certificat-wildcard-avec-certbot\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/ladnet.net\/generer-un-certificat-wildcard-avec-certbot<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cerbot est install\u00e9 sur la machine en version 0.22 ou sup\u00e9rieure. plus d\u2019informations i\u00e7i&nbsp;:&nbsp;https:\/\/certbot.eff.org\/ Pour g\u00e9n\u00e9rer un certificat wildcard valable pour le nom de domaine et tous ses sous domaines on entre la commande&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":427,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,8],"tags":[13,34],"class_list":["post-426","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-securite","category-tech-tips","tag-certbot","tag-wildcard"],"_links":{"self":[{"href":"https:\/\/www.delixirpro.com\/blog\/wp-json\/wp\/v2\/posts\/426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.delixirpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.delixirpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.delixirpro.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.delixirpro.com\/blog\/wp-json\/wp\/v2\/comments?post=426"}],"version-history":[{"count":1,"href":"https:\/\/www.delixirpro.com\/blog\/wp-json\/wp\/v2\/posts\/426\/revisions"}],"predecessor-version":[{"id":428,"href":"https:\/\/www.delixirpro.com\/blog\/wp-json\/wp\/v2\/posts\/426\/revisions\/428"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.delixirpro.com\/blog\/wp-json\/wp\/v2\/media\/427"}],"wp:attachment":[{"href":"https:\/\/www.delixirpro.com\/blog\/wp-json\/wp\/v2\/media?parent=426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.delixirpro.com\/blog\/wp-json\/wp\/v2\/categories?post=426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.delixirpro.com\/blog\/wp-json\/wp\/v2\/tags?post=426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}