Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
defguild.org
I ran this command:
sudo certbot --apache
It produced this output:
$: sudo certbot --apache
Password:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running apachectl configtest.
[Fri Nov 15 09:23:40.206585 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_ADDR} is not defined
[Fri Nov 15 09:23:40.207270 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_PORT} is not defined
[Fri Nov 15 09:23:40.207293 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_ADDR} is not defined
[Fri Nov 15 09:23:40.207300 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_PORT} is not defined
[Fri Nov 15 09:23:40.213464 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_NAME} is not defined
[Fri Nov 15 09:23:40.213477 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_PORT} is not defined
[Fri Nov 15 09:23:40.214043 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_ACCESS_GROUP} is not defined
[Fri Nov 15 09:23:40.214065 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_NAME} is not defined
AH00526: Syntax error on line 23 of /private/etc/apache2/other/httpd_webdavsharing.conf:
Port must be specified
The apache plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError(āError while running apachectl configtest.\n\n[Fri Nov 15 09:23:40.206585 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_ADDR} is not defined\n[Fri Nov 15 09:23:40.207270 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_PORT} is not defined\n[Fri Nov 15 09:23:40.207293 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_ADDR} is not defined\n[Fri Nov 15 09:23:40.207300 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_PORT} is not defined\n[Fri Nov 15 09:23:40.213464 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_NAME} is not defined\n[Fri Nov 15 09:23:40.213477 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_PORT} is not defined\n[Fri Nov 15 09:23:40.214043 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_ACCESS_GROUP} is not defined\n[Fri Nov 15 09:23:40.214065 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_NAME} is not defined\nAH00526: Syntax error on line 23 of /private/etc/apache2/other/httpd_webdavsharing.conf:\nPort must be specified\nā)
My web server is (include version):
Apache/2.4.33
The operating system my web server runs on is (include version):
High Sierra 10.13.6
My hosting provider, if applicable, is:
I own and control the host computer.
I can login to a root shell on my machine (yes or no, or I donāt know):
yes
Iām using a control panel to manage my site (no, or provide the name and version of the control panel):
Appleās Server v5.6.1
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if youāre using Certbot):
certbot 0.39.0
= full message below
Greetings,
I am a hobbyist-level web amateur. My goal is to use certbot 0.39.0 to install a LetsEncript single-domain certificate on a Mac mini running High Sierra 10.13.6 (17G8037); over which I have complete control. The mini is using Appleās Server v5.6.1 and Apache/2.4.33 (Unix).
I am not making much progress.
I believe I have freshly and correctly installed Homebrew and certbot [https://certbot.eff.org/lets-encrypt/osx-apache], but I am unable to then obtain and install a certificate:
When I invoke:
: sudo certbot --apache or : sudo certbot certonly --apache
I quickly receive this error message:
==========
$: sudo certbot --apache
Password:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running apachectl configtest.
[Fri Nov 15 09:23:40.206585 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_ADDR} is not defined
[Fri Nov 15 09:23:40.207270 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_PORT} is not defined
[Fri Nov 15 09:23:40.207293 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_ADDR} is not defined
[Fri Nov 15 09:23:40.207300 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_PORT} is not defined
[Fri Nov 15 09:23:40.213464 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_NAME} is not defined
[Fri Nov 15 09:23:40.213477 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_PORT} is not defined
[Fri Nov 15 09:23:40.214043 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_ACCESS_GROUP} is not defined
[Fri Nov 15 09:23:40.214065 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_NAME} is not defined
AH00526: Syntax error on line 23 of /private/etc/apache2/other/httpd_webdavsharing.conf:
Port must be specified
The apache plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError(āError while running apachectl configtest.\n\n[Fri Nov 15 09:23:40.206585 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_ADDR} is not defined\n[Fri Nov 15 09:23:40.207270 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_PORT} is not defined\n[Fri Nov 15 09:23:40.207293 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_ADDR} is not defined\n[Fri Nov 15 09:23:40.207300 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_PORT} is not defined\n[Fri Nov 15 09:23:40.213464 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_NAME} is not defined\n[Fri Nov 15 09:23:40.213477 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_PORT} is not defined\n[Fri Nov 15 09:23:40.214043 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_ACCESS_GROUP} is not defined\n[Fri Nov 15 09:23:40.214065 2019] [core:warn] [pid 4289] AH00111: Config variable {WFS_SERVER_NAME} is not defined\nAH00526: Syntax error on line 23 of /private/etc/apache2/other/httpd_webdavsharing.conf:\nPort must be specified\nā)
$: sudo apachectl configtest
returns the same error message. I am flummoxed because these errors seem to relate to webdav environmental settings, but when I invoke:
$: sudo wsfctl diagnose
I get the following apparently [to me at least] clean bill of health for the WFS_ variables.
==========
ā¦
Settings configured at /etc/apache2/env.plist:
{
ā-D SERVER_APP_HAS_DEFAULT_PORTSā = āā;
āWFS_ACCESS_GROUPā = everyone;
āWFS_MST_IDā = āSHA-1:f8bfeeb4f0760ee06283f3f00cb9a2bb155dc241:\ādefguild.org.org\āā;
āWFS_SERVER_ADDRā = ā127.0.0.1ā;
āWFS_SERVER_NAMEā = ādefguild.org.orgā;
āWFS_SERVER_PORTā = 81;
}
ā¦
WFS is enabled.
Found non-self-signed but non-trusted identity in keychain; commonName = defguild.org.org
Found self-signed identity in keychain; commonName = defguild.org.org
Found self-signed identity in keychain; commonName = defguild.org.org
Using identity with non-trusted but non-self-signed cert
ā¦
Main httpd status:
Config syntax check:Syntax OK
Launch job is loaded.
Returns 200 on port 80.
Returns 200 port 443.
Config file specifies 127.0.0.1:81, non-SSL, which is correct behind-the-macOS-Server-proxy configuration, and is responding.
Checking available server namesā¦
Configured ServerName defguild.org.org is among those available on machine.
Config is valid
I followed the link to Let's Debug, and seem to have passed:
==========
All OK!
OK
No issues were found with defguild.org. If you are having problems with creating an SSL certificate, please visit the Letās Encrypt Community forums and post a question there.
FWIW, I have also manually edited
/private/etc/apache2/env.plist
and restarted, but the changes I make in /etc/apache2/env.plist don't change the values returned by: wfsctl diagnose
Hopefully someone can point me in the right direction.
Gracias,
John Echols