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

--- Comment #2 from M Smith <[email protected]> ---
Thanks for your time in answering. I'm not sure what you mean by
"Can you also cat the output of the HOOK setting in the config file as well
please"

I had typed the commands listed above directly into the physical machine, but
to get the results below I did use Server Manager to change "Remote Access" to
allow SSH for local networks only, and set the properties for passwords and
command line to YES.

The results of the other commands are as follows.


[root@sme9 ~]# rpm -qa | grep dehydrated

dehydrated-0.4.0.20170205.git1163864-1.el6.sme.noarch

[root@sme9 ~]# rpm -qa | grep letsencrypt

smeserver-letsencrypt-0.4-2.noarch

[root@sme9 ~]# ll /etc/dehydrated

total 20

drwx------ 3 root root 4096 May  5 09:37 accounts

-rw-r--r-- 1 root root  635 May  5 08:39 config

-rw-r--r-- 1 root root   93 May  5 08:39 domains.txt

drwxr-xr-x 2 root root 4096 Feb  6 14:15 hooks_clean_challenge.d

drwxr-xr-x 2 root root 4096 May  5 08:34 hooks_deploy_cert.d

[root@sme9 ~]# cat /etc/dehydrated/config

# letsencryp property ACCEPT_TERMS not set to yes



#!/bin/bash

WELLKNOWN="/home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge"

CA="https://acme-v01.api.letsencrypt.org/directory";

BASEDIR="/etc/dehydrated"

CONTACT_EMAIL=[REDACTED]

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@sme9 ~]# cat /etc/dehydrated/domains.txt

[REDACTED].net  ftp.[REDACTED].net  mail.[REDACTED].net  proxy.[REDACTED].net 
sme9.[REDACTED].net  wpad.[REDACTED].net  www.[REDACTED].net  

[root@sme9 ~]# sh /usr/bin/hook-script.sh

/usr/bin/hook-script.sh: line 7: [: =: unary operator expected

[root@sme9 ~]#

-- 
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