https://bugs.contribs.org/show_bug.cgi?id=10300

            Bug ID: 10300
           Summary: Dehydrated returning to shell prompt, outputs only "#
                    INFO: Using main config file /etc/dehydrated/config"
    Classification: Contribs
           Product: SME Contribs
           Version: 9.2
          Hardware: x86_64
                OS: ---
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-letsencrypt
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

dehydrated and smeserver-letsencrypt have been running fine for me for some
time on my main SME server, but Hsing-Foo and @ShulzStefan in the forums are
reporting some odd behavior (see
https://forums.contribs.org/index.php/topic,53044.0.html), so I set up a clean
machine and am seeing something similar.  In short, attempting to run
"dehydrated -c" returns only "# INFO: Using main config file
/etc/dehydrated/config" and then it returns me to a shell prompt.  The Let's
Encrypt account is not created, the challenge is not created, and the
certificate is not issued.

This is on a clean SME 9.2 VM, with all updates as of about an hour ago, in
server-only mode.

[root@sme92-test ~]# rpm -q dehydrated
dehydrated-0.4.0.20170205.git1163864-1.el6.sme.noarch
[root@sme92-test ~]# rpm -q smeserver-letsencrypt
smeserver-letsencrypt-0.4-2.noarch
[root@sme92-test ~]# config show letsencrypt
letsencrypt=service
    ACCEPT_TERMS=yes
    configure=none
    hookScript=enabled
    host=192.168.1.5
    path=/home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge
    status=test
    user=root
[root@sme92-test ~]# cat /etc/dehydrated/config
PARAM_ACCEPT_TERMS="yes"

#!/bin/bash
WELLKNOWN="/home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge"
CA="https://acme-staging.api.letsencrypt.org/directory";
BASEDIR="/etc/dehydrated"
HOOK="/usr/bin/hook-script.sh"

#fix for curl error (get for
https://acme-staging.api.letsencrypt.org/directory; curl returned with 6) like
/usr/bin/curl https://acme-v01.api.letsencrypt.org/directory -s 2>&1 >
/dev/null
/usr/bin/curl http://cert.int-x3.letsencrypt.org/ -s 2>&1 > /dev/null
/usr/bin/curl https://acme-staging.api.letsencrypt.org/directory -s 2>&1 >
/dev/null

[root@sme92-test ~]# ls -lR /etc/dehydrated
/etc/dehydrated:
total 16
-rw-r--r-- 1 root root  575 May 14 15:01 config
-rw-r--r-- 1 root root   28 May 14 15:01 domains.txt
drwxr-xr-x 2 root root 4096 Feb  6 15:15 hooks_clean_challenge.d
drwxr-xr-x 2 root root 4096 May 14 14:38 hooks_deploy_cert.d

/etc/dehydrated/hooks_clean_challenge.d:
total 0

/etc/dehydrated/hooks_deploy_cert.d:
total 4
-rw-r--r-- 1 root root 38 Feb  6 15:15 10httpd.sh.sample
[root@sme92-test ~]#

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to