acmetool icon indicating copy to clipboard operation
acmetool copied to clipboard

Investigate support for storing SCT in a file

Open hlandau opened this issue 8 years ago • 5 comments

What webservers can consume this, besides HAProxy?

hlandau avatar Nov 25 '15 21:11 hlandau

Nginx with a custom plugin:

https://github.com/grahamedgecombe/nginx-ct

wiktor-k avatar Dec 06 '15 14:12 wiktor-k

That's two.

Still, at some point LE will start stapling SCTs to OCSP responses (which can be stapled themselves): https://github.com/letsencrypt/boulder/issues/592 So I wonder about the utility of this.

hlandau avatar Dec 06 '15 14:12 hlandau

Yep, it's a low priority IMHO.

Last time I checked some CA considered distributing SCT via TLS extensions to be the "correct approach" though. See: https://forum.startcom.org/viewtopic.php?p=21381&sid=3ca262ae78a1e69f299c08ff9990e015#p21381

wiktor-k avatar Dec 07 '15 16:12 wiktor-k

I've been using a live-updated hook to achieve this together with ct-submit.

Here's the hook:

https://gist.github.com/grahamedgecombe/a9d662911c45445001ee93378d011ac9

It's not a perfect solution: the live symlink has already been swapped by the time live-updated is called. If one of the log servers you submit to is down, you could end up using the certificate without having the desired number of SCTs.

It only supports the SCT file format used by Apache and the nginx-ct module. HAProxy uses a different format and isn't supported.

It'd also be nice if it used a human-readable file name for the .sct files, instead of the SHA-256 hash of the log URL.

grahamedgecombe avatar Jul 23 '16 15:07 grahamedgecombe

Neat. I've added a mention to the user guide's third-party resources section.

hlandau avatar Aug 05 '16 01:08 hlandau