From owner-freebsd-python@freebsd.org Wed May 2 14:24:26 2018 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26368FAB411 for ; Wed, 2 May 2018 14:24:26 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A8F8E84BB1 for ; Wed, 2 May 2018 14:24:25 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6BFA2FAB40F; Wed, 2 May 2018 14:24:25 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 449D5FAB40E for ; Wed, 2 May 2018 14:24:25 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-pg0-x229.google.com (mail-pg0-x229.google.com [IPv6:2607:f8b0:400e:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B83D784BB0 for ; Wed, 2 May 2018 14:24:24 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mail-pg0-x229.google.com with SMTP id 82-v6so10753070pge.11 for ; Wed, 02 May 2018 07:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=fK3gpZqLGFRYfT8RCrVDeRtuOsTV/bIsCIfdgTXKt6g=; b=S8QYYExFZHuG3t48pjWqss2wuFzi6gx7cK+k1Wuj+36YNCKVEH/c8BByxNTva0W2w4 YYNb9+B/NW3QVYvqw64lTt5BhnPB3oCSWnZZnL47ckGr67MBMqtp2NYtD69aBRXu8Hc0 q6v7wT6XW1GG1sMDyzPuqKYSdyPFERCiNEVB5jcmmxFqEsWu5By/EC+D1KMVKwn3uC9Q iH6mbrrotA7xMhog/OThYcv7mIl1xcWZH+3YRxgQ3ke+k24u2M+G5ordeYmAXUf+jNMv idUuNn2a+NldFS4eIriSF2EWcsqCG40NDzuSP9q3AM2M7qJ95g71eaZAIPHHKRRjJWDC d8Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=fK3gpZqLGFRYfT8RCrVDeRtuOsTV/bIsCIfdgTXKt6g=; b=lMcD46ioy/rSyO75EI2QL/rSv6WjhKLS2uYE3SaQ6HLckRQlIz3jAvQHFbWgqFOFY1 DrUIv3C2siUhtVrw/IqqHt+b2LJDSgOQciKrfiIrugqObqkFZTQ/26X0sOmBigQA9YtA Ckx9InkzERTlgZgjIjIhq6WU7X1Er6uqzDIu34y30yPfYFgl1j0BhoeXJPIZA4R8PHSq oe8RDzKX7dLeVlNDY++YgUUjURI9Kssy0xc9ExkcVOlGr2IWjW6SE0kx8t1UsFv+92yf GwFzfegOnMcu8weoBAFTOudpsOrLYfTiV5TR2633f7kQG5FgM8TCNfIdGLs9AlmYGvTH FHSw== X-Gm-Message-State: ALQs6tAHBw7avnoqMqaR4OciaMchgE/+XyzVbrFKv2i6m/QopvWHGXcX /vauEdpCrmDVxnE+6twEOX8P37WZ X-Google-Smtp-Source: AB8JxZpqNSORlztCZDWGkRADgluY71fZ36vGM1N6kpRIP6qITk4WaXhcCps5wKaMnx9S5sHD75KK8Q== X-Received: by 2002:a17:902:6b04:: with SMTP id o4-v6mr1354866plk.101.1525271063708; Wed, 02 May 2018 07:24:23 -0700 (PDT) Received: from argent.paulbeard.org (c-73-225-76-58.hsd1.wa.comcast.net. [73.225.76.58]) by smtp.gmail.com with ESMTPSA id v15sm24493140pfa.116.2018.05.02.07.24.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 May 2018 07:24:23 -0700 (PDT) From: Paul Beard Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: py-certbot fails, doesn't know where to find nginx.conf Message-Id: <21E3907A-58FC-48C9-907D-B97F30D75042@gmail.com> Date: Wed, 2 May 2018 07:24:21 -0700 To: python@FreeBSD.org X-Mailer: Apple Mail (2.3445.6.18) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2018 14:24:26 -0000 Found that my certificates had expired overnight and a little digging = turned up why: per hier(1), the conf file is under /usr/local /usr/local/etc/nginx/nginx.conf I hate to make a symlink to resolve this if there is a cleaner way: can = certbot be directed to look in /usr/local/etc instead of /etc?=20 Thanks.=20 #### Cert is due for renewal, auto-renewing... Could not choose appropriate plugin: The requested uto plugin does not = appear to be installed Attempting to renew cert (paulbeard.org) from = /usr/local/etc/letsencrypt/renewal/paulbeard.org.conf produced an = unexpected error: The requested uto plugin does not appear to be = installed. Skipping. All renewal attempts failed. The following certs could not be renewed: /usr/local/etc/letsencrypt/live/paulbeard.org/fullchain.pem (failure) =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 /usr/local/bin/certbot Saving debug log to /var/log/letsencrypt/letsencrypt.log Error while running nginx -c /etc/nginx/nginx.conf -t. nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (2: No such file or = directory) nginx: configuration file /etc/nginx/nginx.conf test failed