From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0I9eMgFbQWV3uwAAauVa8A:P1 (envelope-from ) for ; Tue, 31 Oct 2023 20:52:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0I9eMgFbQWV3uwAAauVa8A (envelope-from ) for ; Tue, 31 Oct 2023 20:52:33 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 88B705EBE0 for ; Tue, 31 Oct 2023 20:52:33 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lassieur.org header.s=fm2 header.b=GqDSE9jm; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=cQpRGFFR; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698781953; a=rsa-sha256; cv=none; b=nfuI7u3Kj3Um5E7pSQXn+LYoXRTnPmEiRPBlLi4+LDDRkhDw0axeBXub4c0iW7gzfhAA1s +GLZvoezSKoAl9vYdlQW6uabXw00YoKlCJwBlx0XjmGMRta94a1Y2fPhFoLRr6lr7lECQY 86QCqgsOOf6aX/RSU0H7LFdNVddjShHjj+Tka0/9gtOQUxXQL8s1qyNp7pAl8Z2aZKW4uj bO47CKmZjd7GSt4NKYsrAiH5vyqXlJPy73V+iTYsLWu4suzC+0klxtZW8Ol0YOiwART2+H nbDN9Qoyh2HRkpZvmEyXxxstNA0A+BGR4EbuJz93ptdFXpnWPVH0VP59l7AFlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698781953; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Hwv+qauXmdOzTc9oQTQkUwh9SEpnGEDtdlMT6mcupYw=; b=rjHZ5sSKKRGHwBT3A2KaPFYwlJ2VHT1IE7VeLq8pn0jPzpqf/CLvc8lkucLfXmhYpx7iFD P2U4DUegQVYw1os2dXDV8rG9fWje6hKdkMqJHj4i3SHQprhMaC75vQgWzpyx9fQFtul2EV hlubNFZSbVlp9AuQc1ozhW5ekKehurXVk7G5n1XPoAMFlrCZyJkiamBTN0R7G46Yp+pH7y HBlHQ3J6rg7TSDVFT3zlPPVKtXqPWjK9rXR9AZHbjSTsIV+GfdSa102nvfQaQgaHugpWQ/ xNNfOdPVOsUPYzaxF+HdBY5njWoD5JQoa6BtVfjI9ijVMYpot5eAaZGcXMTAnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lassieur.org header.s=fm2 header.b=GqDSE9jm; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=cQpRGFFR; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxumJ-0007TK-Al; Tue, 31 Oct 2023 15:51:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxumI-0007Sj-43 for guix-devel@gnu.org; Tue, 31 Oct 2023 15:51:54 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxumG-0007Go-8u for guix-devel@gnu.org; Tue, 31 Oct 2023 15:51:53 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E67165C0117; Tue, 31 Oct 2023 15:51:50 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 31 Oct 2023 15:51:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lassieur.org; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1698781910; x=1698868310; bh=Hwv+qauXmdOzTc9oQTQkUwh9SEpnGEDtdlM T6mcupYw=; b=GqDSE9jmlozv6fD4zZ0G5F23N+amBspyDG2fJUpQWQa9cwlUf96 VWEJjqUmRZbU6Pg8MZgDiv/a4n9mha9EIDW8rsVrgexPHZCgka/bPXpxGcdfJMF/ IkaNt4hT8yDT/Rp6L+mm0BdflpOvuWirasino68G7GqsyjeIg/aACejc+2lVIVA9 yyAxU8VXXwyHzJH0Jqq+iy9BZKVMGaGhFj3Gc7ecf2KFMpblqNkazBA/Tznxjyy9 hn3aU960L4nwLlzgbWW4T1MiUUngd1i8HrkUH8nNK5+Len7vkC28doSAHY+vlNjx LnJPz9My9TBSMM3/VKJTOMjmLxxf4ZgjE9A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1698781910; x=1698868310; bh=Hwv+qauXmdOzTc9oQTQkUwh9SEpnGEDtdlM T6mcupYw=; b=cQpRGFFRhusClKSmmv/JGXBRVfpqVS8Z83f8wp8/+cxkX8IWZZL Rb262lrAowoJBj+P5jXi8pTI21S1xpnnQ8n3jHkuhrN6Jd+15Lpf5gqTmMte/PAc RZNxi/Bfbr4eFrZe0d6bu6Az8Pp78xWBw6/GNUzWTLzvJPw9heme8I5mPAtO8fCm tw4SWdZ1k3RhvI+8Tt8W+Ot0GgCYWcXokQIy9p5XKOV1AhGlH/jEfSKjX/5k9+I8 48foUBLik07kB96bhhynK9dVe1FrP5q0HN2assRckIYMq2KRAITuCCFD6sZ6TkNb pdl7pTsUbQJXIWvs3JB2CtDuMDZZoekitEQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddtvddguddvjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvvefujghffffkfgggtgfgse htqhertddtreejnecuhfhrohhmpeevlhormhgvnhhtucfnrghsshhivghurhcuoegtlhgv mhgvnhhtsehlrghsshhivghurhdrohhrgheqnecuggftrfgrthhtvghrnhephefffeejte fhhfdvjedtkeegiefgudetvefglefhheffvdevtdfgtdeiudekkeefnecuffhomhgrihhn pehishgvnhhgrggrrhgrrdguvgdpghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegtlhgvmhgvnhhtsehlrghsshhivghurhdr ohhrgh X-ME-Proxy: Feedback-ID: i4c21472a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 31 Oct 2023 15:51:49 -0400 (EDT) From: =?utf-8?Q?Cl=C3=A9ment_Lassieur?= To: Tobias Alexandra Platen Cc: guix-devel@gnu.org Subject: Re: How to get nginx and letsencrypt working on the guix system In-Reply-To: <67713d793edf4bcdcbf897dcfa3b657191c610b3.camel@platen-software.de> (Tobias Alexandra Platen's message of "Tue, 31 Oct 2023 19:23:32 +0100") References: <67713d793edf4bcdcbf897dcfa3b657191c610b3.camel@platen-software.de> Date: Tue, 31 Oct 2023 20:51:47 +0100 Message-ID: <87y1fi7ep8.fsf@lassieur.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=66.111.4.29; envelope-from=clement@lassieur.org; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: 0.07 X-Migadu-Queue-Id: 88B705EBE0 X-Migadu-Spam-Score: 0.07 X-TUID: QZl3x4NkJEAJ On Tue, Oct 31 2023, Tobias Alexandra Platen wrote: > I installed the guix system on a virtual machine, and changed the > config as documented in the guix manual under 12.9.19 Web Services: > > (service certbot-service-type > (certbot-configuration > (email "tplaten@posteo.de") > (certificates (list (certificate- > configuration > (domains '("stream.isengaara.de")) (deploy-hook > %nginx-deploy-hook)))))) > ;;; nginx testing > (service nginx-service-type=20 > (nginx-configuration > (server-blocks > (list (nginx-server-configuration > (server-name '("stream.isengaara.de")) > (root "/srv/http/stream.isengaara.de")))))) > > Certbot needs running nginx to create a certificate, and nginx wont > start without a certificate. The documentation does not explain how > to solve this circular service dependency. Hi! There is some reading about it there: https://debbugs.gnu.org/cgi/pkgreport.cgi?include=3Dsubject%3Acertbot;packa= ge=3Dguix There is a proposal from Brice but it's not implemented yet, as far as I know (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D46961). Please talk about it on the bug tracker rather than guix devel, this allows for better tracking. Thanks, Cl=C3=A9ment