Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
dan
Contributor

URL Filter for Let's Encrypt HTTP-01 challenge

 

I just wonder how one would or could implement a WAF URL filter (?) with Fortigate board utilities for Let's Encrypt renewals? That is, how would a policy have be setup to allow Let's Encrypt to access an internal webserver to get the renewal token as per HTTP-01 challenge?

 

Sometime ago, I played around with a Web Profile that would only allow the regex 

.*\/.well-known\/acme-challenge\/.*

 

I never got it working reliably, so I basically turned to Fortigate's own LetsEncrypt method.

 

However, I still have some cases where a policy that would allow port 80 for renewals, with proper restrictions, would help.

 

For example, my (not really working) example policy is allowing HTTP access to an internal machine for that renewal, but only allowing it from "acme-v02.api.letsencrypt.org" and with a webfilter that allows only 

.*\/.well-known\/acme-challenge\/.*

 

Does not really work.

 

If someone has (for educational purposes) a complete example that works.,. I would appreciate.

 

Dan

 

 

 

 

Networking and such...
Networking and such...
2 REPLIES 2
HarshChavda
Staff
Staff

Hello @dan ,

 

can you create an address object for lets encrypt server and  try to create a URL filter with allow .*\/.well-known\/acme-challenge\/.* and add it to the firewall policy.

dan
Contributor

That is what I have done, described in my post.
And that's what did not work...

That is why I ask

 

Networking and such...
Networking and such...
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors