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

truststore_nss: retry certtool with sudo when it fails due to permissions #216

Merged
merged 1 commit into from Nov 9, 2019

Conversation

FiloSottile
Copy link
Owner

Based on @rfay's investigation and fix.

Fixes #192
Closes #193

@FiloSottile
Copy link
Owner Author

@rfay I made a smaller version fo your fix, could you test that it works? Thank you!

…ions

Based on @rfay's investigation and fix.

Fixes #192
Closes #193
@FiloSottile
Copy link
Owner Author

Tested with a simple Docker image, seems to work.

FROM ubuntu:16.04
RUN apt-get update && apt-get install -y libnss3-tools sudo
RUN adduser --disabled-password --ingroup sudo filippo
ADD mkcert /usr/local/bin

@FiloSottile FiloSottile merged commit 1b4ad6c into master Nov 9, 2019
@FiloSottile FiloSottile deleted the execCerttool branch November 9, 2019 23:18
@rfay
Copy link

rfay commented Nov 12, 2019

@FiloSottile Tested manually on Ubuntu 16.04, works. Reverted the workaround in our testing environmen (so it now gets Linuxbrew version v1.4.1) and that's working too. Thanks!

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

Successfully merging this pull request may close these issues.

mkcert -install (v1.4.0) fails to run in Ubuntu 16.04: SEC_ERROR_READ_ONLY
2 participants