From: "Massimo S." Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTP id 11081104 for ecs-isp@2rosenthals.com; Tue, 15 Oct 2024 05:50:10 -0400 Received: from secmgr-va.randr ([192.168.200.201]:34858 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtp (Exim 4.97.1) (envelope-from ) id 1t0eBk-000000005JK-1bOy for ecs-isp@2rosenthals.com; Tue, 15 Oct 2024 05:50:02 -0400 Received: from mail2.quasarbbs.net ([80.86.52.115]:10175) by mail2.2rosenthals.com with esmtp (Exim 4.97.1) (envelope-from ) id 1t0eBZ-0000000004r-1jdP for ecs-isp@2rosenthals.com; Tue, 15 Oct 2024 05:49:50 -0400 X-SASI-Hits: BODY_SIZE_3000_3999 0.000000, BODY_SIZE_5000_LESS 0.000000, BODY_SIZE_7000_LESS 0.000000, CTE_7BIT 0.000000, HTML_00_01 0.050000, HTML_00_10 0.050000, IN_REP_TO 0.000000, LEGITIMATE_SIGNS 0.000000, MSGID_SAMEAS_FROM_HEX_844412 0.100000, MSG_THREAD 0.000000, NO_CTA_URI_FOUND 0.000000, NO_URI_HTTPS 0.000000, REFERENCES 0.000000, REPLYTO_SAMEAS_FROM 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, __CT 0.000000, __CTE 0.000000, __CT_TEXT_PLAIN 0.000000, __DQ_NEG_DOMAIN 0.000000, __DQ_NEG_HEUR 0.000000, __DQ_NEG_IP 0.000000, __FORWARDED_MSG 0.000000, __FROM_NAME_NOT_IN_ADDR 0.000000, __FROM_NAME_NOT_IN_BODY 0.000000, __FUR_HEADER 0.000000, __HAS_FROM 0.000000, __HAS_MSGID 0.000000, __HAS_REFERENCES 0.000000, __HAS_REPLYTO 0.000000, __HEADER_ORDER_FROM 0.000000, __IN_REP_TO 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_USER_AGENT 0.000000, __MSGID_HEX_844412 0.000000, __NO_HTML_TAG_RAW 0.000000, __REFERENCES 0.000000, __REPLYTO_SAMEAS_FROM_ACC 0.000000, __REPLYTO_SAMEAS_FROM_ADDY 0.000000, __REPLYTO_SAMEAS_FROM_DOMAIN 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_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_MAILTO 0.000000, __URI_NO_WWW 0.000000, __URI_NS 0.000000, __USER_AGENT 0.000000 X-SASI-Probability: 10% X-SASI-RCODE: 200 X-SASI-Version: Antispam-Engine: 5.1.4, AntispamData: 2024.10.15.90616 X-SASI-Hits: BODY_SIZE_3000_3999 0.000000, BODY_SIZE_5000_LESS 0.000000, BODY_SIZE_7000_LESS 0.000000, CTE_7BIT 0.000000, HTML_00_01 0.050000, HTML_00_10 0.050000, IN_REP_TO 0.000000, LEGITIMATE_SIGNS 0.000000, MSGID_SAMEAS_FROM_HEX_844412 0.100000, MSG_THREAD 0.000000, NO_CTA_URI_FOUND 0.000000, NO_URI_HTTPS 0.000000, REFERENCES 0.000000, REPLYTO_SAMEAS_FROM 0.000000, SUSP_DH_NEG 0.000000, TO_IN_SUBJECT 0.500000, USER_AGENT 0.000000, __ANY_URI 0.000000, __AUTH_RES_PASS 0.000000, __BODY_NO_MAILTO 0.000000, __BOUNCE_CHALLENGE_SUBJ 0.000000, __BOUNCE_NDR_SUBJ_EXEMPT 0.000000, __CT 0.000000, __CTE 0.000000, __CT_TEXT_PLAIN 0.000000, __DQ_NEG_DOMAIN 0.000000, __DQ_NEG_HEUR 0.000000, __DQ_NEG_IP 0.000000, __FORWARDED_MSG 0.000000, __FROM_NAME_NOT_IN_ADDR 0.000000, __FROM_NAME_NOT_IN_BODY 0.000000, __FUR_HEADER 0.000000, __HAS_FROM 0.000000, __HAS_MSGID 0.000000, __HAS_REFERENCES 0.000000, __HAS_REPLYTO 0.000000, __HEADER_ORDER_FROM 0.000000, __IN_REP_TO 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_USER_AGENT 0.000000, __MSGID_HEX_844412 0.000000, __NO_HTML_TAG_RAW 0.000000, __REFERENCES 0.000000, __REPLYTO_SAMEAS_FROM_ACC 0.000000, __REPLYTO_SAMEAS_FROM_ADDY 0.000000, __REPLYTO_SAMEAS_FROM_DOMAIN 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_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_MAILTO 0.000000, __URI_NO_WWW 0.000000, __URI_NS 0.000000, __USER_AGENT 0.000000 X-SASI-Probability: 10% X-SASI-RCODE: 200 X-SASI-Version: Antispam-Engine: 5.1.4, AntispamData: 2024.10.15.93016 Received: from [192.168.10.199] (dtp [192.168.10.199]) by srv2 (Weasel v2.9-0001 ) for ; Tue, 15 Oct 2024 11:47:10 -0000 Reply-To: ml@ecomstation.it Subject: Re: [eCS-ISP] HTTPS-Misery (for Steven) To: eCS ISP Mailing List References: Organization: Massimo S. Message-ID: <5da09515-bb65-ea0b-6b37-2e4e12bb39fe@ecomstation.it> Date: Tue, 15 Oct 2024 11:49:43 +0200 User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; it-IT; rv:1.7.13) Gecko/20060424 Thunderbird/1.0.8 Mnenhy/0.7.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Language: it-IT Content-Transfer-Encoding: 7bit Il 12/10/2024 03:01, Steven Levine ha scritto: > In , on 10/12/24 > at 01:40 AM, "Massimo S." said: > > Hi Massimo, > >> i still don't understand this > > No problem. This stuff was all new to us at one time. > >> 2024/10/12-01:33:15 hook_webmail started at 2024/10/12-01:33:15 >> 2024/10/12-01:33:15 method is begin >> 2024/10/12-01:33:15 type is http-01 >> 2024/10/12-01:33:15 ident is webmail.mydomain.it >> 2024/10/12-01:33:15 token is OQg2xEXcj39j6brHDmIDwj5V5mYY1_DOvU5DRDOnPh4 > > Not so good. Notice that the hook did not create the token file. You log > is missing a line like: > > 2024/08/25-19:58:36 Creating > D:\www\docs\mbopinion\.well-known\acme-challenge\pyyk1CI7afsiXskFrCC8RGVYS9t3qOvvQkRrL07rGaE > > which reports that the token file has been successfully created. > > My guess is you broke the script when you did your edits. If think I see > what you did wrong. You set docroot with > > docroot = 'X:\apache\htdocs\mywebsite\.well-known\acme-challenge' > > You should have used > > docroot = 'X:\apache\htdocs\mywebsite' > > docroot as the name implies is the name of the document root directory, > not the challenge directory. > > The challenge directory name is set by > > uacme-hook.cmd:88 > challengeDir = MakePath( docroot, '.well-known\acme-challenge') > > I'm pretty sure the script reported that it could not access > > X:\apache\htdocs\mywebsite\.well-known\acme-challenge\.well-known\acme-challenge > > and died and you ignored the error message or it scrolled by too fast for > you to read. > > Run uacme with the -h and -v options and capture stdout and stderr to a > file: > > uacme -v -h uacme-hook.cmd issue webmail.mydomain.it >out.log 2>&1 > > Out.log should contain the error message you missed. > >> i still find the acme-challenge dir empty > > This is normal. The only reason the challenge directory will not be empty > is if uacme or the hook script crashes in such a way that the token file > is not deleted. > > Your issue is a bit different. The token file never got created because > you pointed challengeDir at a non-existant directory and the script died. > > Steven hi all, now i'm completely confused, i don't understand what's happening this is a certificate i need to create for the first time: uacme issue mywebsite2.ecomstation.it -h hook_mywebsite2.cmd 2024/10/15-11:24:03 2024/10/15-11:24:03 hook_mywebsite2 started at 2024/10/15-11:24:03 2024/10/15-11:24:03 method is begin 2024/10/15-11:24:03 type is http-01 2024/10/15-11:24:03 ident is mywebsite2.ecomstation.it 2024/10/15-11:24:14 2024/10/15-11:24:14 hook_mywebsite2 started at 2024/10/15-11:24:14 2024/10/15-11:24:14 method is failed 2024/10/15-11:24:14 type is http-01 2024/10/15-11:24:14 ident is mywebsite2.ecomstation.it 2024/10/15-11:24:14 token is U_8xDcx9AT6qFzEosUKhMas8SKcK8SKburtsjaq6zRc 2024/10/15-11:24:14 auth is U_8xDcx9AT6qFzEosUKhMas8SKcK8SKburtsjaq6zRc.zyhanFlpd0tloojCJrdfZjZwx4LbkQHuYa75ndsa-Qs 2024/10/15-11:24:14 DoFailed deleting D:\apache2\htdocs\webmail2\.well-known\acme-challenge\U_8xDcx9AT6qFzEosUKhMas8SKcK8SKburtsjaq6zRc 2024/10/15-11:24:14 method is failed why is failed? it's http01 2024/10/15-11:24:14 DoFailed deleting X:\apache2\htdocs\mywebsite2\.well-known\acme-challenge\U_8xDcx9AT6qFzEosUKhMas8SKcK8SKburtsjaq6zRc why it fails? path is perfect, there are no issues in the path massimo