I have a domain http://brainoidtech.com which has letsencrypt certificate issued and set to it.
Now the certificate as expired and I am trying to renew it, but keep getting the error -
Could not obtain directory.
Could not obtain directory.
exception ‘Kelunik\Acme\AcmeException’ with message ‘Issuance failed, not all challenges could be solved.’ in /home/brainffw/acme-client/src/Commands/Issue.php:106
After connecting to the server’s ssh from the MacOS terminal, I am using this command to renew in my MacOS terminal -
Well your certificate has already expired and you now urgently need to renew so personally I would say use the proper certbot client and run it in standalone mode to get your new certificate then you can spend time later diagnosing what’s wrong with your acme-client.
I think you are going to have to look through any log files for your acme-client to try and fix it. Unfortunately this is the problem with shared hosting environment where you do not have root access.
I am running on Linux, that is the only detail they have provided.
I just noticed Outbound Port 80, 443, 465, 587 and 8080 were blocked. I have unblocked them now, let me try to renew the certificate now and will update you.
Yeah it worked, oh what a trivial issue! Apologies for wasting your time and Thank you for helping me out guys!
Appreciate the help and your time.
Cheers!