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

Graceful CRL reload #1

Open
maciej-szlosarczyk opened this issue Jun 14, 2019 · 3 comments · May be fixed by #38
Open

Graceful CRL reload #1

maciej-szlosarczyk opened this issue Jun 14, 2019 · 3 comments · May be fixed by #38
Labels
EPP-Proxy Issue in the EPP Proxy project

Comments

@maciej-szlosarczyk
Copy link
Contributor

When CRL file is updated, the proxy should pick it up automatically. Then we can use timers to schedule check every few hours to reload CRL if it has changed.

Current behaviour is a regression from mod_epp. You need to restart the application completely, dropping existing connections to load new CRL file contents.

@teadur
Copy link
Contributor

teadur commented Sep 27, 2019

If old CRL expires no new connections are allowed until the application is restarted and new working crl is loaded.

Sep 27 14:53:52 test-reg epp_proxy[671]: [info] <0.19895.473>@epp_tls_worker:log_opened_connection:168 New client connection. IP: x.x.x.x, Process: <0.19895.473>.
Sep 27 14:53:52 test-reg epp_proxy[671]: [info] <0.20227.473> TLS server: In state certify at ssl_handshake.erl:1365 generated SERVER ALERT: Fatal - Bad Certificate - {bad_crls,no_relevant_crls}
Sep 27 14:53:52 test-reg epp_proxy[671]: [info] <0.19895.473>@epp_tls_worker:log_on_invalid_handshake:161 Failed SSL handshake. IP: x.x.x, Error: [{tls_alert,{bad_certificate,"received SERVER ALERT: Fatal - Bad Certificate - {bad_crls,no_relevant_crls}"}}]

@maciej-szlosarczyk
Copy link
Contributor Author

Yeah, I'll try to experiment over the weekend with https://github.com/erlang/otp/blob/master/lib/ssl/src/ssl_pem_cache.erl to see if I can force it clear every now and then.

Unfortunately the issue is quite painful to test so it might take me a while.

@vohmar vohmar added the EPP-Proxy Issue in the EPP Proxy project label Jan 29, 2020
@yulgolem yulgolem linked a pull request Jul 28, 2020 that will close this issue
@vohmar
Copy link
Contributor

vohmar commented Oct 15, 2020

there still is a point to this ticket, or consider implementig OCSP, but this is not priority at the moment - removing this from todo list for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EPP-Proxy Issue in the EPP Proxy project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants