sslssl-certificatelets-encryptcertbotojs

Challenge failed for http 01


I am trying to install SSL certificate on an OJS(open journal systems) website whose url is journal.iba-suk.edu.pk:8089. I am doing so from Ubuntu using certbot. While running command sudo certbot --apache, I am getting the above mentioned error and unable to install SSL certificate.

I ran the command

Sudo certbot --apache 

But the the SSL certificate was not installed as challenge failed. The error message says firewall problem but the firewall is off and it also says make sure domain name is correct and the domain is also correct


Solution

  • certbot only works on port 80 or 443 as your app is running in 8089 certbot might be unable to complete the challenge. you need to proxy pass your app running in 8089 to port 80 as i usually do with nginx. I am sure we can proxy pass in apache too. after you do that you can try applying certificate again.