![]() Home > CentOS > CentOS 7.x > Web Based Tools > owncloud > CentOS 7. lego -path /opt/wordpress-5.6-0/letsencrypt/ -d -d -m -http run acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: Invalid response from : "\n\n\n\t\n\t\n\n\n\t\n\t/ is quite different then existing certificates in /opt/wordpress-5.6-0/letsencrypt/certificates. #!/bin/bash /opt/owncloud-10.0.10-2/ctlscript.sh stop /usr/local/bin/lego -domains="" -path="/etc/lego" -http renew #The above is not working so using certbot instead systemctl start httpd certbot renew systemctl stop httpd cp /etc/letsencrypt/live//fullchain.pem /etc/lego/certificates/.crt cp /etc/letsencrypt/live//privkey.pem /etc/lego/certificates/.key /opt/owncloud-10.0.10-2/ctlscript.sh startīncert-tool that comes with bitnami wordpress-5.6.0 stopped working with errors similar to: 8 17:15:22 acme: Trying renewal with 480 hours remainingĨ 17:15:22 [, acme: Obtaining bundled SAN certificateĨ 17:15:24 AuthURL: Ĩ 17:15:24 acme: Could not find solver for: tls-alpn-01Ĩ 17:15:24 acme: use http-01 solverĨ 17:15:24 [acme: Could not find solver for: tls-alpn-01Ĩ 17:15:24 [acme: use http-01 solverĨ 17:15:24 acme: Trying to solve HTTP-01Ĩ 17:15:29 [acme: Trying to solve HTTP-01Ĩ 17:15:37 Unable to deactivate the authorization: Ĩ 17:15:37 error: one or more domains had a problem: Thus updated /etc/lego/renew-certificate.sh to have:./etc/lego/certificates/.key linked to /opt/owncloud-10.0.10-2/apache2/conf/server.key./etc/lego/certificates/.crt linked to /opt/owncloud-10.0.10-2/apache2/conf/server.crt.In above setup following symbolic links were present:.Used following to create required certificate in /etc/letsencrypt/live folders: I use ssl for authentication but when sharing links and data it is cumbersome for the user to accept the self signed certificate.DocumentRoot "/var/www/html" ServerName # Other directives here The above script was created based on below reference: Below command was running without any output and existing with 0 status. usr/local/bin/lego -domains="" -path="/etc/lego" -http renew It was found that on one production server /etc/lego/renew-certificate.sh with following contents: Similar article at CentOS 8.x wordpress bitnami lets encrypt certificate renewal error Change it to something like 'A B * * 0' where A is between 0 and 59 (minutes) and B is between 0 to 6 (in night). This will add entry in crontab with '0 0 * * *' schedule. For the following instructions I assume that the name resolves to the IP address of your ownCloud server. It is better to use /opt/owncloud-/bncert-tool with -perform_dns_validation 0 option to renew certificate via bncert tool. You need to have authoritative access to a public DNS domain and register your ownCloud server's name in it. Home > CentOS > CentOS 7.x > Web Based Tools > owncloud > CentOS 7.x Owncloud bitnami lego lets-encrypt certificate renewal issue
0 Comments
Leave a Reply. |