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

[1.3.1] OCSP renew fails with letsencrypt #113

Closed
lkarsten opened this issue Aug 22, 2016 · 4 comments
Closed

[1.3.1] OCSP renew fails with letsencrypt #113

lkarsten opened this issue Aug 22, 2016 · 4 comments
Assignees

Comments

@lkarsten
Copy link
Contributor

With Hitch 1.3.1 and a let's encrypt certificate, I get the following logged when HUPing hitch:

Aug 22 09:14:48 lima hitch[2097]: Worker 0 (gen: 0) in state EXITING is now exiting.
Aug 22 09:14:48 lima hitch[2096]: {core} Child 2097 exited with status 0.
Aug 22 09:14:48 lima hitch[2573]: {core} Process 0 online
Aug 22 09:14:48 lima hitch[2574]: {ocsp} OCSP_sendreq_nbio failed for ocsp.int-x3.letsencrypt.org:80.

Expected: no ocsp error logged, perhaps something logged about a staple successfully being downloaded.

There are no files in the directory configured as ocsp-dir in hitch.conf. ownership hitch:root and perms are 0700.

s_client confirms that there is no staple attached in the response:

$ echo "" | openssl s_client -connect hostname:443 -tlsextdebug -status 
CONNECTED(00000003)
TLS server extension "renegotiation info" (id=65281), len=1
0001 - <SPACES/NULS>
TLS server extension "EC point formats" (id=11), len=4
0000 - 03 00 01 02                                       ....
TLS server extension "session ticket" (id=35), len=0
TLS server extension "heartbeat" (id=15), len=1
0000 - 01                                                .
OCSP response: no response sent
[..]

I don't know if this is because hitch is misbehaving, or if let's encrypt servers are having issues.

@daghf daghf self-assigned this Aug 22, 2016
@sesse
Copy link

sesse commented Aug 24, 2016

This also happens for StartSSL.

Aug 24 23:05:19 cirkus hitch[20549]: 20160824T230519.614083 [20553] {ocsp} OCSP_sendreq_nbio failed for ocsp.startssl.com:80.

@HLeithner
Copy link

@daghf anything new about this issue?

@sesse
Copy link

sesse commented Sep 6, 2016

https://trac.nginx.org/nginx/ticket/465 came up on IRC. Probably relevant (lack of HTTP/1.1).

@daghf daghf closed this as completed in b3eb846 Sep 8, 2016
@daghf
Copy link
Member

daghf commented Sep 8, 2016

@HLeithner @lkarsten @sesse

I commited a fix just now. Could you try running it again?

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

4 participants