You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mkcert -install (v1.4.0) fails to run in Ubuntu 16.04: SEC_ERROR_READ_ONLY #192
mkcert -install
Created a new local CA at "/home/circleci/.local/share/mkcert" 💥
The local CA is now installed in the system trust store! ⚡️
ERROR: failed to execute "certutil -A": exit status 255
certutil: function failed: SEC_ERROR_READ_ONLY: security library: read-only database.
On Debian 9 and Debian 10 this doesn't seem to be a problem AFAICT
On Ubuntu 18.04, it prompts for sudo password and succeeds.
On Fedora 30 it is successful without need for sudo (apparently)
I'm experiencing this issue when testing an Azure pipeline on both Ubuntu 16.04 and 18.04.
+ mkcert -install --cert-file certificate.pem --key-file key.pem lh.wordstream.com
Created a new local CA at "/home/vsts/.local/share/mkcert" 💥
The local CA is now installed in the system trust store! ⚡️
ERROR: failed to execute "certutil -A": exit status 255
certutil: function failed: SEC_ERROR_READ_ONLY: security library: read-only database.
Using @rfay's binaries from #193 resolved the issue for me.
Activity
rfay commentedon Aug 19, 2019
On Debian 9 and Debian 10 this doesn't seem to be a problem AFAICT
On Ubuntu 18.04, it prompts for sudo password and succeeds.
On Fedora 30 it is successful without need for sudo (apparently)
rfay commentedon Aug 20, 2019
On Manjaro (and probably arch the same) using linuxbrew it prompts for sudo password successfully and works.
rfay commentedon Aug 20, 2019
I think #193 will solve this problem in a fairly generic way. It might also be possible and simpler to always use sudo on certutil.
topher200 commentedon Oct 18, 2019
I'm experiencing this issue when testing an Azure pipeline on both Ubuntu 16.04 and 18.04.
Using @rfay's binaries from #193 resolved the issue for me.
truststore_nss: retry certtool with sudo when it fails due to permiss…
truststore_nss: retry certtool with sudo when it fails due to permiss…
truststore_nss: retry certtool with sudo when it fails due to permiss…
truststore_nss: retry certtool with sudo when it fails due to permiss…