I'm trying to generate a Let's Encrypt certificate using its built-in functionality for that. As recently as the beginning of this month, automatically renewing an existing certificate I obtained the same way was worked fine using a HTTP challenge. Now, however I'm getting the error "tls: no application protocol", and I'm not sure if this message is from the Let's Encrypt service or the ForitiGate. Does anyone here know?
You can find more details about my issue in the FortiGate subreddit here.
Nope. I haven't changed the firmware since the last successful renewal, and I didn't have HTTPS configured on the frontend webserver. it even failed after I set up Let's Encrypt on the frontend NGINX server today just to give that a try. It's super weird.
I just adjusted the NGINX config files to have separate access and error logs for the vpn hostname, and requested the certificate again, and both logs are empty, so the server is never checked.
Yes, both hostnames are hosted on the same server at the same public IP address.
It failed with the same error message even without a redirect in place in the port 80 vhost config, and the well-known files were never accessed according to the combined access logs before I split them out. I would expect to see at least an initial request in those logs.
I know this will sound tough - but maybe that's just what you need - tough love - lol
You opened this topic - which implies that you require "help".
Are you asking for help?
If not, then I can go about my day.
If so, are you willing to accept the help being provided?
If not, then I can go about my day.
If so, then please follow the requests given.
Like:
I'm pretty certain, that somewhere in that nginx config you will find the reason for this failure.
If you need a second set of eyes to review it, and don't wish to publish that here, feel free to redact it and DM me directly OR ask a colleague to review it.
You can't keep doing the exact same thing and expect the result to change.