8

I created a certificate for my Apache 2.4 server. To validate my server letsencrypt created the folder .well-known and accessed it.

Do I need to keep this folder accessible (for certificate renewal) or could I delete/block the folder?

womble
  • 96,255
  • 29
  • 175
  • 230
dermoritz
  • 181
  • 7

2 Answers2

8

Yes, it's needed each time a certificate is renewed. You still need to verify that the calling system is in control of the resource.

user9517
  • 115,471
  • 20
  • 215
  • 297
2

Lets Encrypt can create a new directory when you renew your ssl. So, yes you need the directory for renewal, but you can remove it after the first validation or a renewal.

Patrick
  • 71
  • 8