Re:Milestone: 100M Certificates Issued
by tskaiser on Thursday June 29, 2017 @09:14AM
(#14663002)
If the private key is only used for this purpose, and the cronjob as well as the key only reside on the server, is the security of the key then not a moot point if the server is breached? Genuinely curious.
[ Parent
| on HN ]
Re:Milestone: 100M Certificates Issued
by doublerebel on Thursday June 29, 2017 @05:11PM
(#14666893)
I don't store keys on the filesystem for two reasons:
* Security in case of a breach
* Ephemeral containers
I try never to store secrets in an unencrypted cloud filesystem, and decrypted secrets should be in memory, if possible.
I store my LE keys in Vault using ten-ply-crest, so access is very restricted yet storage has redundancy. Vault is dead easy to integrate with any system.
I have been really surprised how many LetsEncrypt tools store certs and keys in the filesystem, other than "that's the way it's always been done".
Also if the keys are stored only on one cloud server, that means there ought to be a backup somewhere, so now there are two potential leaks instead of one.
With Vault only ten-ply-crest and Fabio access the keys. No human ever gets near them.
If you update the certificates manually, then the private key would just reside on your local machine and not need to be exposed on the server.
Re:Milestone: 100M Certificates Issued
by iancarroll on Thursday June 29, 2017 @09:32AM
(#14663117)
If the server requesting the certificate is going to use the certificate, then the server ends up with the private key either way.
Indeed, but I cannot see how this addresses my question?
because your private key never needs to be compromised, even if your server is breached, because it never needs to be on the server. That said, I agree that if the PK is only used for this single server, you have bigger problems than its loss if your server is breached.