Please fill out the fields below so we can help you better.
My domain is: (I do not have one)
I ran this command: sudo certbot --apache
It produced this output: Failed authorization procedure. localhost.localdomain.com (tls-sni-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Failed to connect to 22.214.171.124:443 for TLS-SNI-01 challenge
My operating system is (include version): Ubuntu 16.10
My web server is (include version): Apache2 + Tomcat 8
My hosting provider, if applicable, is: I do not have one. Use Google Fiber 1000 for ISP.
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
I want to convert my webserver ran on localhost accessed via ssh on my Android to HTTPS. Unfortunately, it does not appear possible to do this without a domain name? I want to get around the constant prompts that the Connection is not secure by using a valid certificate, but do not know how to get a valid certificate without a domain, and I do not wish to pay for a super expensive Internet package if I’m the only one who will ever use my website.