Skip to content

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

Merged
FiloSottile merged 1 commit into
masterfrom
execCerttool
Nov 9, 2019
Merged

FiloSottile merged 1 commit into
masterfrom
execCerttool

Conversation

@FiloSottile

Copy link
Copy Markdown
Owner

Based on @rfay's investigation and fix.

Fixes #192
Closes #193

@FiloSottile

Copy link
Copy Markdown
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
Copy Markdown
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

rfay commented Nov 12, 2019

Copy link
Copy Markdown

@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