omar-polo / gmid

a Gemini server
https://gmid.omarpolo.com
ISC License
102 stars 7 forks source link

Implement OCSP stapling support #6

Closed The-King-of-Toasters closed 2 years ago

The-King-of-Toasters commented 2 years ago

Currently dogfooding this patch at gemini.sgregoratto.me. To test, run the following command and look for the "OCSP response" header:

openssl s_client -connect "gemini.sgregoratto.me:1965" -status

omar-polo commented 2 years ago

Hi,

The patch looks fine, thanks! I intend to commit a small stylistic change after this gets merged just to avoid a long line, but the diff is fine as is :)

It would be good to have a test case for this, but it shouldn't be a blocker for the merge. If you want to give it a shoot I'll be grateful, otherwise I'll try to find some time after the weekend.

Thanks!