{"id":102,"date":"2023-11-27T14:47:09","date_gmt":"2023-11-27T13:47:09","guid":{"rendered":"https:\/\/artheodoc.fr\/?page_id=102"},"modified":"2024-03-19T15:30:45","modified_gmt":"2024-03-19T14:30:45","slug":"pour-renouveler-manuellement-les-certificats-lets-encrypt","status":"publish","type":"page","link":"https:\/\/artheodoc.fr\/index.php\/pour-renouveler-manuellement-les-certificats-lets-encrypt\/","title":{"rendered":"Pour renouveler manuellement les certificats Let\u2019s Encrypt"},"content":{"rendered":"\n<p>Toutes les commandes sont ex\u00e9cut\u00e9es en sudo\/root.<\/p>\n\n\n\n<p>Let\u2019s Encrypt utilise le client Certbot pour installer, g\u00e9rer et renouveler automatiquement les certificats qu\u2019ils fournissent. Dans le cas o\u00f9 le renouvellement ne serait pas automatiquement (pour tous les certificats) :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>certbot renew<\/strong><\/pre>\n\n\n\n<p>Si vous avez plusieurs certificats pour diff\u00e9rents domaines et que vous souhaitez renouveler un certificat sp\u00e9cifique, utilisez :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>certbot certonly --force-renew -d exemple.com<\/strong><\/pre>\n\n\n\n<p>\u2013force-renew indique \u00e0 Certbot de demander un nouveau certificat avec les m\u00eames domaines qu\u2019un certificat existant. L\u2019indicateur -d vous permet de renouveler les certificats pour plusieurs domaines sp\u00e9cifiques.<\/p>\n\n\n\n<p>Pour v\u00e9rifier que les certificats ont \u00e9t\u00e9 renouvel\u00e9s, ex\u00e9cutez :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>certbot renew --dry-run<\/strong><\/pre>\n\n\n\n<p>Si la commande ne renvoie aucune erreur, le renouvellement a r\u00e9ussi.<\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-link-color wp-elements-f6c97f9ec5aac94674c9cc2eab419e16\">Le routage du port 80 doit \u00eatre correct.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Toutes les commandes sont ex\u00e9cut\u00e9es en sudo\/root. Let\u2019s Encrypt utilise le client Certbot pour installer, g\u00e9rer et renouveler automatiquement les certificats qu\u2019ils fournissent. Dans le cas o\u00f9 le renouvellement ne serait pas automatiquement (pour tous les certificats) : certbot renew Si vous avez plusieurs certificats pour diff\u00e9rents domaines et que vous souhaitez renouveler un certificat [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-102","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/comments?post=102"}],"version-history":[{"count":5,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages\/102\/revisions"}],"predecessor-version":[{"id":654,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages\/102\/revisions\/654"}],"wp:attachment":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/media?parent=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}