Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCSP stapling and fallback certificate #140

Closed
kapouer opened this issue Jun 7, 2018 · 3 comments
Closed

OCSP stapling and fallback certificate #140

kapouer opened this issue Jun 7, 2018 · 3 comments

Comments

@kapouer
Copy link

kapouer commented Jun 7, 2018

Hi,

  • allow_domain returns false when domain ends with a specific wildcard domain
  • fallback certificate is set to that wildcard domain (and works)
  • ocsp stapling is on, verify is on, resolver is set

When i don't set ocsp stapling on, auto-ssl allowed domains have ocsp stapling working all right.
If i set it on in global nginx config for ssl, only the wildcard fallback domain will get ocsp stapling,
and auto-ssl allowed domains stop having it enabled as soon as the wildcard domain is requested.

To be clear:

  • if i request a auto-ssl managed domain first, ocsp stapling response is returned
  • if i request a auto-ssl managed domain second, ocsp stapling response is not returned

I suppose this is a bug, because it appears at runtime.

@kapouer
Copy link
Author

kapouer commented Jun 7, 2018

It's as if as soon as nginx ocsp stapling kicks in, it writes all ocsp responses, ignoring the ones already set by auto-ssl.

@kapouer
Copy link
Author

kapouer commented Jun 7, 2018

SO it's an nginx bug. I suppose it could be worked around if it was possible to configure (in request_domain or in allow_domain) where to load the pem files from, thus making fallbacks good citizens w.r.t. ocsp and maybe also a simple step toward #97.

@kapouer
Copy link
Author

kapouer commented Jun 7, 2018

Closed by #141

@kapouer kapouer closed this as completed Jun 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant