Hello everyone! I am playing around with the idea of building a hosting platform, I've already made quite a lot of progress and it has been a very fun project. I have several questions that came up during my development.
-
The 90 day expiration of Certs is fixed, meaning, if I store the the day I created the cert, I can be certain that I'll know when it expires?
-
Accounts, since I provision the certs on behalf of my users, should I use only one account (mine) for these sites that I host, or should I use my users email address and store their private key and email as well? Will this cause any issues for them if they also use this email themselves or something?
-
I am using the(seems like I can use webroot option for handling the challenge)go-acme/lego
library, and I am using theHTTP01
challenge type, which opens up the:5002
port, but I am a bit scared since this seems like not scaleable, since only 1 of these can be active at a time since the other will get port occupied error. Any alternatives to this? I've read the pick a challenge type docs, but I am unable to properly grasp what a validation server is, is it something I can write up myself or? So it would be smarter to batch these and process them X at a time and make a request for all of them at once to obtain the certificates? If so, I'll have to take a look ifgo-acme/lego
supports this kind of functionality -
What should be the deletion process like? Eg, a site is deleted, what should happen to the certificate? Since I am no longer maintaining that domain that they registered, I guess that the certificate should just be revoked?
Any other feedback is greatly appreciated! I already have a local setup with pebble that allows me not to even hit staging while developing, only those 4 above points I haven't figured out yet.