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:smart-mrt.co.il
I ran this command:
sudo certbot certonly --manual --preferred-challenges http -d smart-mrt.co.il -d www.smart-mrt.co.il --manual-auth-hook /opt/SSLCertificates/authenticator.sh --non-interactive --manual-public-ip-logging-ok
where opt/SSLCertificates/authenticator.sh
if I have this info:
TARGET_DIR=/opt/wildfly/standalone/deployments/mrt.war/.well-known/acme-challenge
mkdir -p $TARGET_DIR
echo $CERTBOT_VALIDATION > $TARGET_DIR/$CERTBOT_TOKEN
it fail on mrt.war is not a directory and failed to create the related hiden directories
in general Iâm following this doc:
It produced this output:
Running manual-auth-hook command: /opt/SSLCertificates/authenticator.sh
manual-auth-hook command â/opt/SSLCertificates/authenticator.shâ returned error code 1
Error output from manual-auth-hook command authenticator.sh:
mkdir: cannot create directory â/opt/wildfly/standalone/deployments/mrt.warâ: Not a directory
/opt/SSLCertificates/authenticator.sh: line 5: /opt/wildfly/standalone/deployments/mrt.war/.well-known/acme-challenge/TUSVVmbo_aVe-FJpSzMPgeCsYQTM5iGb2hFL8Bjh-ao: Not a directory
Running manual-auth-hook command: /opt/SSLCertificates/authenticator.sh
manual-auth-hook command â/opt/SSLCertificates/authenticator.shâ returned error code 1
Error output from manual-auth-hook command authenticator.sh:
mkdir: cannot create directory â/opt/wildfly/standalone/deployments/mrt.warâ: Not a directory
/opt/SSLCertificates/authenticator.sh: line 5: /opt/wildfly/standalone/deployments/mrt.war/.well-known/acme-challenge/p715Ov-Wi-YF2qLRGVreTPF-Z-kzpDC9Su3HCW22IYM: Not a directory
Waiting for verificationâŚ
Challenge failed for domain smart-mrt.co.il
Challenge failed for domain www.smart-mrt.co.il
http-01 challenge for smart-mrt.co.il
http-01 challenge for www.smart-mrt.co.il
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: smart-mrt.co.il
Type: unauthorized
Detail: Invalid response from
http://smart-mrt.co.il/.well-known/acme-challenge/TUSVVmbo_aVe-FJpSzMPgeCsYQTM5iGb2hFL8Bjh-ao
[109.207.76.136]: 404Domain: www.smart-mrt.co.il
Type: unauthorized
Detail: Invalid response from
http://www.smart-mrt.co.il/.well-known/acme-challenge/p715Ov-Wi-YF2qLRGVreTPF-Z-kzpDC9Su3HCW22IYM
[109.207.76.136]: 404
My web server is (include version):wildfly 15.0.0.1
The operating system my web server runs on is (include version):CentOS 7
My hosting provider, if applicable, is: BOX (co.il)
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): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if youâre using Certbot): certbot 0.35.1