r/sonicwall • • 5d ago

Let's Encrypt SSL

With the constant renewal dates for certificates I have been looking to do ACME automation on the firewalls. The biggest issue is you have to open port 80 inbound to the WAN interface so they can renew. Complicating this more is the CA for renewals are in multiple countries using different hosts. This is an issue for compliance as some clients have regular scans performed by their Cyber insurance companies. Opening up port 80 will get them flagged. Looks like we may check out another CA to see if the servers can be isolated and added to a rule.

Has anyone else worked on this?

10 Upvotes

22 comments sorted by

11

u/LeaveMickeyOutOfThis 5d ago

I do use ACME certs for my Sonicwall, but I do this completely independently of the firewall right now, for this very reason. As an alternative I use DNS authentication, which means no calls back to a web server to verify ownership, but I then have the hassle of uploading the certificate, which I would ideally like to script at some point (anyone else done this).

Another pain is that uploading the certificate requires the firewall to be rebooted, which is madness in my mind. Again, open to other suggestions if anyone has them.

3

u/Trader-Of-Jacks 4d ago

I've ignored the management UI's claim that the firewall has to be rebooted and it starts serving the new certs just fine.

Who would design the software to require a reboot to put a new cert into effect anyway? That would be a functionality step backwards. SonicOS 6 didn't require a reboot to activate new certs.

2

u/analogrival 4d ago

I've only seen the reboot requirement when a CA cert is uploaded. Still annoying

→ More replies (4)

6

u/kerubi 5d ago

Last I checked the port 80 is not responding except during the renewal. So a few seconds per three months.

2

u/Instagib713 4d ago

Does anyone know this for sure? That makes this a much more workable solution for us.

5

u/valumbs 4d ago

DNS challenge would be the most secure way. Can anyone from Sonicwall confirm if this is coming. I too am not planning on opening port 80 to the Internet. Just another vulnerability that will get exploited.

2

u/Vivid_Mongoose_8964 4d ago

DNS is a requirement here too

1

u/mario44222 4d ago

We don't have http exposed on our WAN and the ACME generation worked fine. We only have HTTPS management enabled locked down to our management IP. Is this only for renewals?

1

u/InsaneITPerson 4d ago

From what I read it has to be open in order to renew. That was from Sonicwall KB and AI advice

2

u/analogrival 4d ago

Thankfully no. It opens port 80 only for the renewal, you don't need to open it yourself.

I've already started moving over at least a dozen firewalls to LE for clients

1

u/Vivid_Mongoose_8964 4d ago

Are you saying it's not open all the time? The device opens and closes as it is needed?

2

u/analogrival 4d ago

Make sure no NAT policy applies to the public IP address of the firewall's WAN interface on port 80, so that the validation request is not forwarded to another device.

https://www.sonicwall.com/support/knowledge-base/automated-certificate-management-environment-acme-on-sonicos-8-2-2-8015/kA1VN000001ww330AA

Does it all by itself. Haven't had to make a single rule.
Only issue I've run in to is some carriers block port 80 at the modem level. Quick call to support, a modem reboot, and I'm good to go

→ More replies (1)

2

u/Rachel-360 5d ago

Poking at it as I prep a deployment of TZ680s but haven't put all the steps together re: compliance

1

u/Strange_Attitude1961 4d ago

Would opening not only be OUTGOING, not ingoing?

2

u/valumbs 4d ago

Incoming to verify the host on the cert

1

u/MicroBill 4d ago

Have anyone tryed used g some thing like infiscales cert handeling part to pull the cert from letsencrypt and update the firewall from the lan side