csrgenerator.com icon indicating copy to clipboard operation
csrgenerator.com copied to clipboard

Suggestion: Store generated csrs and provide download option

Open mandys opened this issue 2 years ago • 1 comments

Thank you for a great tool!

In my case, we generate a lot of csrs for clients and once the client purchases the SSL, we install it on our LB.

However, we want to keep a history of these so that we can refer to them at any time and download them ( even a project manager should be able to download and send it to the client ).

I have enhanced the tool a bit with these features.

Would you be interested if I shared it or are those beyond the scope of your tool ?

Let me know.

Thanks.

mandys avatar Feb 21 '22 09:02 mandys

Hey @mandys thanks for your interest and thanks for raising an issue for this. I do think this is a little out of scope -- at least for the public version of this project -- because I don't think it's safe to store the private key for users, even client side with localStorage. This is secret material and could potentially be used to impersonate a server, and I don't really want that responsibility. And right now everything is stateless and I prefer it that way. I do see the need for something like this in a self-hosted environment though, so I'm happy you were able to make it fit your particular use case.

I would like to add a download option for CSRs/private keys as they are generated, so if you happen to have any changes related to that I'll accept those.

DavidWittman avatar Feb 22 '22 02:02 DavidWittman