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

Specifying ssl ticket results in file not found: #3471

Closed
Stono opened this issue Nov 27, 2018 · 3 comments · Fixed by #3476
Closed

Specifying ssl ticket results in file not found: #3471

Stono opened this issue Nov 27, 2018 · 3 comments · Fixed by #3476
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@Stono
Copy link
Contributor

Stono commented Nov 27, 2018

Hi,
I have the following in my configmap (don't worry, i've changed this key):

  ssl-session-ticket-key: BMpTn+SqetYPrR1wdQwmVKkyl/gLCYBDbwepPx9dgAybR2B2YQjGzkCylHK+Dtk3q9REW1dQRKChyQQL6gpX3yOq2+ekPG3W0qaHAYQ+sXY=
  ssl-session-tickets: "true"

But I'm getting this in NGINX (latest):

2018/11/27 14:19:20 [emerg] 724#724: open() "/etc/nginx/tickets.key" failed (2: No such file or directory) in /tmp/nginx-cfg100328750:604
@Stono
Copy link
Contributor Author

Stono commented Nov 27, 2018

Further up in the log:

E1127 14:24:02.615747       1 store.go:744] unexpected error writing ssl-session-ticket-key to /etc/nginx/tickets.key: open /etc/nginx/tickets.key: permission denied

@Stono
Copy link
Contributor Author

Stono commented Nov 27, 2018

Temporarily fixed this with:

RUN touch /etc/nginx/tickets.key && \
    chmod 0777 /etc/nginx/tickets.key

@aledbf aledbf added the kind/bug Categorizes issue or PR as related to a bug. label Nov 27, 2018
@tavisma
Copy link

tavisma commented Nov 27, 2018

I'm having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants