From: "Peter Moylan" Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTP id 11332420 for ecs-isp@2rosenthals.com; Mon, 09 Dec 2024 18:54:29 -0500 Received: from secmgr-va.randr ([192.168.200.201]:57120 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtp (Exim 4.97.1) (envelope-from ) id 1tKna0-0000000026C-1Xj3 for ecs-isp@2rosenthals.com; Mon, 09 Dec 2024 18:54:23 -0500 Received: from pmoylan.org ([144.6.37.71]:60919 helo=mail.pmoylan.org) by mail2.2rosenthals.com with esmtp (Exim 4.97.1) (envelope-from ) id 1tKnZq-0000000026u-1LEP for ecs-isp@2rosenthals.com; Mon, 09 Dec 2024 18:54:12 -0500 X-SASI-Hits: BODYTEXTP_SIZE_3000_LESS 0.000000, BODY_ENDS_IN_URL 0.000000, BODY_SIZE_2000_2999 0.000000, BODY_SIZE_5000_LESS 0.000000, BODY_SIZE_7000_LESS 0.000000, CTE_7BIT 0.000000, DKIM_ALIGNS 0.000000, DKIM_SIGNATURE 0.000000, HTML_00_01 0.050000, HTML_00_10 0.050000, IN_REP_TO 0.000000, KNOWN_MSGID 0.000000, LEGITIMATE_SIGNS 0.000000, MSG_THREAD 0.000000, REFERENCES 0.000000, SENDER_NO_AUTH 0.000000, SUSP_DH_NEG 0.000000, TO_IN_SUBJECT 0.500000, USER_AGENT 0.000000, __ANY_URI 0.000000, __BODY_NO_MAILTO 0.000000, __BOUNCE_CHALLENGE_SUBJ 0.000000, __BOUNCE_NDR_SUBJ_EXEMPT 0.000000, __CP_URI_IN_BODY 0.000000, __CT 0.000000, __CTE 0.000000, __CT_TEXT_PLAIN 0.000000, __DKIM_ALIGNS_1 0.000000, __DKIM_ALIGNS_2 0.000000, __DQ_NEG_DOMAIN 0.000000, __DQ_NEG_HEUR 0.000000, __DQ_NEG_IP 0.000000, __FORWARDED_MSG 0.000000, __FUR_HEADER 0.000000, __HAS_FROM 0.000000, __HAS_MSGID 0.000000, __HAS_REFERENCES 0.000000, __HEADER_ORDER_FROM 0.000000, __HTTPS_URI 0.000000, __INT_PROD_COMP 0.000000, __IN_REP_TO 0.000000, __IOC_PHRASE 0.000000, __MAIL_CHAIN 0.000000, __MIME_BOUND_CHARSET 0.000000, __MIME_TEXT_ONLY 0.000000, __MIME_TEXT_P 0.000000, __MIME_TEXT_P1 0.000000, __MIME_VERSION 0.000000, __MOZILLA_MSGID 0.000000, __MOZILLA_USER_AGENT 0.000000, __MULTIPLE_URI_TEXT 0.000000, __NO_HTML_TAG_RAW 0.000000, __PHISH_SPEAR_REASONS 0.000000, __PHISH_SPEAR_REASONS2 0.000000, __RCVD_FROM_DOMAIN 0.000000, __REFERENCES 0.000000, __SANE_MSGID 0.000000, __SCAN_D_NEG 0.000000, __SCAN_D_NEG2 0.000000, __SCAN_D_NEG_HEUR 0.000000, __SCAN_D_NEG_HEUR2 0.000000, __SUBJ_ALPHA_END 0.000000, __SUBJ_ALPHA_NEGATE 0.000000, __SUBJ_REPLY 0.000000, __TO_IN_SUBJECT 0.000000, __TO_MALFORMED_2 0.000000, __TO_NAME 0.000000, __TO_NAME_DIFF_FROM_ACC 0.000000, __TO_REAL_NAMES 0.000000, __URI_HAS_HYPHEN_USC 0.000000, __URI_IN_BODY 0.000000, __URI_MAILTO 0.000000, __URI_NOT_IMG 0.000000, __URI_NS 0.000000, __URI_WITHOUT_PATH 0.000000, __URI_WITH_PATH 0.000000, __USER_AGENT 0.000000 X-SASI-Probability: 9% X-SASI-RCODE: 200 X-SASI-Version: Antispam-Engine: 5.1.4, AntispamData: 2024.12.9.232146 X-SASI-Hits: BODYTEXTP_SIZE_3000_LESS 0.000000, BODY_ENDS_IN_URL 0.000000, BODY_SIZE_2000_2999 0.000000, BODY_SIZE_5000_LESS 0.000000, BODY_SIZE_7000_LESS 0.000000, CTE_7BIT 0.000000, DKIM_ALIGNS 0.000000, DKIM_SIGNATURE 0.000000, HTML_00_01 0.050000, HTML_00_10 0.050000, IN_REP_TO 0.000000, KNOWN_MSGID 0.000000, LEGITIMATE_SIGNS 0.000000, MSG_THREAD 0.000000, REFERENCES 0.000000, SENDER_NO_AUTH 0.000000, SUSP_DH_NEG 0.000000, TO_IN_SUBJECT 0.500000, USER_AGENT 0.000000, __ANY_URI 0.000000, __BODY_NO_MAILTO 0.000000, __BOUNCE_CHALLENGE_SUBJ 0.000000, __BOUNCE_NDR_SUBJ_EXEMPT 0.000000, __CP_URI_IN_BODY 0.000000, __CT 0.000000, __CTE 0.000000, __CT_TEXT_PLAIN 0.000000, __DKIM_ALIGNS_1 0.000000, __DKIM_ALIGNS_2 0.000000, __DQ_NEG_DOMAIN 0.000000, __DQ_NEG_HEUR 0.000000, __DQ_NEG_IP 0.000000, __FORWARDED_MSG 0.000000, __FUR_HEADER 0.000000, __HAS_FROM 0.000000, __HAS_MSGID 0.000000, __HAS_REFERENCES 0.000000, __HEADER_ORDER_FROM 0.000000, __HTTPS_URI 0.000000, __INT_PROD_COMP 0.000000, __IN_REP_TO 0.000000, __IOC_PHRASE 0.000000, __MAIL_CHAIN 0.000000, __MIME_BOUND_CHARSET 0.000000, __MIME_TEXT_ONLY 0.000000, __MIME_TEXT_P 0.000000, __MIME_TEXT_P1 0.000000, __MIME_VERSION 0.000000, __MOZILLA_MSGID 0.000000, __MOZILLA_USER_AGENT 0.000000, __MULTIPLE_URI_TEXT 0.000000, __NO_HTML_TAG_RAW 0.000000, __PHISH_SPEAR_REASONS 0.000000, __PHISH_SPEAR_REASONS2 0.000000, __RCVD_FROM_DOMAIN 0.000000, __REFERENCES 0.000000, __SANE_MSGID 0.000000, __SCAN_D_NEG 0.000000, __SCAN_D_NEG2 0.000000, __SCAN_D_NEG_HEUR 0.000000, __SCAN_D_NEG_HEUR2 0.000000, __SUBJ_ALPHA_END 0.000000, __SUBJ_ALPHA_NEGATE 0.000000, __SUBJ_REPLY 0.000000, __TO_IN_SUBJECT 0.000000, __TO_MALFORMED_2 0.000000, __TO_NAME 0.000000, __TO_NAME_DIFF_FROM_ACC 0.000000, __TO_REAL_NAMES 0.000000, __URI_HAS_HYPHEN_USC 0.000000, __URI_IN_BODY 0.000000, __URI_MAILTO 0.000000, __URI_NOT_IMG 0.000000, __URI_NS 0.000000, __URI_WITHOUT_PATH 0.000000, __URI_WITH_PATH 0.000000, __USER_AGENT 0.000000 X-SASI-Probability: 9% X-SASI-RCODE: 200 X-SASI-Version: Antispam-Engine: 5.1.4, AntispamData: 2024.12.9.232146 DKIM-Signature: v=1; q=dns/txt; a=rsa-sha256; c=relaxed/relaxed; s=default; d=pmoylan.org; bh=V22KVEcaJDuLrj7UQOZ1Fibint9Z1ifr7a1TwLUZiH8=; h=From:To:Date:Message-ID; b=U+QTpWlVqlofoIoXuQqQzTLaYZVioGlU1JglpGUyK2fsIXQcELpRSxZuwdHpkIOecOt+m t9DdYHP8KI4AL5IVIavwjOrkit2//UVJ7YVrj7WZmrOj9Wp/5gv/XNjg1onmtV0oV3NqDrq 4nEUGXMrlme7IGQ8OoJ9ja8JbXZiG2s= Received: from [192.168.20.3] (peter.pmoylan.org [192.168.20.3]) by mail.pmoylan.org (Weasel v3.0) for ; Tue, 10 Dec 2024 10:54:05 +1100 Subject: Re: [eCS-ISP] Getting started with Let's Encrypt To: eCS ISP Mailing List References: Message-ID: <6757831D.9060106@pmoylan.org> Date: Tue, 10 Dec 2024 10:54:05 +1100 User-Agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 07/12/24 16:42, Steven Levine wrote: > To get started you need to create the c:\etc\ssl\uacme directory that > uacme.exe expects to exist. > > Then you need to register yourself with Let's Encrypt using > > uacme -v new > > to create your production account. This will create > c:\etc\ssl\uacme\private\key.pem - your account's private key. Well, I can report partial success. It turns out that uacme wants a number of DLLs that existed on my desktop computer but not on my server. After copying those over, the "uacme -v new" worked, except for an error message at the end. > At this point, I believe you will not need a staging account. Staging > accourts are intended for high volume certificate and tools testing and > you should not need any of this. > > Once you are registered, create a script to issue your certificate. I > recommend you edit a copy of > > issue_wwwmbopinion2.cmd > > changing the domain list to match the domain set for the certificate you > want to create. IIRC, the first domain in the list will determine where > uacme writes the cert and key files. The resulting script will be > something like > > uacme -v -h uacme-hook.cmd issue www.pmoylan.org pmoylan.org ... Here's the result of that "issue" operation: [D:\APPS\UACME]uacme -v -h uacme-hook.cmd issue pmoylan.org www.pmoylan.org mail.pmoylan.org uacme: version 1.2.4 starting on Tue, 10 Dec 2024 10:06:27 uacme: loading key from /@unixroot/etc/ssl/uacme/private/key.pem uacme: loading key from /@unixroot/etc/ssl/uacme/private/pmoylan.org/key.pem uacme: checking existence and expiration of /@unixroot/etc/ssl/uacme/pmoylan.org /cert.pem uacme: /@unixroot/etc/ssl/uacme/pmoylan.org/cert.pem does not exist uacme: fetching directory at https://acme-v02.api.letsencrypt.org/directory A non-recoverable error occurred. The process ended. It looks as if the crash happened at the point of fetching something from the letsencrypt.org web site. I've checked with Firefox that that URL gives an apparently valid file. I now have two key.pem files (and they look OK) but no certificate. The only challenge in the .well-known\acme-challenge directory of my web site is a couple of files left over from a test of two days ago (so I've deleted those), so the process has not proceeded to the point of issuing the challenge. I don't think that uacme-hook.cmd has yet been invoked, but maybe I should insert some tracing code into that script to see whether it started. -- Peter Moylan peter@pmoylan.org http://www.pmoylan.org