[GH-ISSUE #246] libnssutil3 was not loaded for installing #157

Closed
opened 2026-02-25 22:32:45 +03:00 by kerem · 2 comments
Owner

Originally created by @dakiesse on GitHub (Mar 17, 2020).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/246

I've tried to execute $ mkcert -install

Using the local CA at "/Users/someuser/Library/Application Support/mkcert" ✨
The local CA is already installed in the system trust store! 👍
ERROR: failed to execute "certutil -A -d sql:/Users/someuser/Library/Application Support/Firefox/Profiles/2ekfser2.default-release": signal: abort trap

dyld: Library not loaded: /usr/local/Cellar/nss/3.36.1/lib/libnssutil3.dylib
  Referenced from: /usr/local/bin/certutil
  Reason: image not found

After that I've tried to execute $ mkcert 0.0.0.0

Using the local CA at "/Users/dakiesse/Library/Application Support/mkcert" ✨
Warning: the local CA is not installed in the Firefox trust store! ⚠️
Run "mkcert -install" to avoid verification errors ‼️

Created a new certificate valid for the following names 📜
 - "0.0.0.0"

The certificate is at "./0.0.0.0.pem" and the key at "./0.0.0.0-key.pem" ✅

MacOS: 10.15.2
I've tried to use $ brew upgrade but it didn't help me

Originally created by @dakiesse on GitHub (Mar 17, 2020). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/246 I've tried to execute `$ mkcert -install` ``` Using the local CA at "/Users/someuser/Library/Application Support/mkcert" ✨ The local CA is already installed in the system trust store! 👍 ERROR: failed to execute "certutil -A -d sql:/Users/someuser/Library/Application Support/Firefox/Profiles/2ekfser2.default-release": signal: abort trap dyld: Library not loaded: /usr/local/Cellar/nss/3.36.1/lib/libnssutil3.dylib Referenced from: /usr/local/bin/certutil Reason: image not found ``` After that I've tried to execute `$ mkcert 0.0.0.0` ``` Using the local CA at "/Users/dakiesse/Library/Application Support/mkcert" ✨ Warning: the local CA is not installed in the Firefox trust store! ⚠️ Run "mkcert -install" to avoid verification errors ‼️ Created a new certificate valid for the following names 📜 - "0.0.0.0" The certificate is at "./0.0.0.0.pem" and the key at "./0.0.0.0-key.pem" ✅ ``` MacOS: 10.15.2 I've tried to use `$ brew upgrade` but it didn't help me
kerem closed this issue 2026-02-25 22:32:45 +03:00
Author
Owner

@rfay commented on GitHub (Mar 17, 2020):

I had a similar homebrew problem with osslsigncode, see https://github.com/mtrojnar/osslsigncode/issues/26 - in that case I was able to fix it with brew link libgsf glib pcre, not sure if that's relevant for you.

<!-- gh-comment-id:600121948 --> @rfay commented on GitHub (Mar 17, 2020): I had a similar homebrew problem with osslsigncode, see https://github.com/mtrojnar/osslsigncode/issues/26 - in that case I was able to fix it with `brew link libgsf glib pcre`, not sure if that's relevant for you.
Author
Owner

@FiloSottile commented on GitHub (Mar 21, 2020):

This does not look like a mkcert issue: I assume the problem will be the same if you try to run certutil directly. You can try your luck with the Homebrew issue tracker, or maybe brew reinstall nss will help.

<!-- gh-comment-id:601985724 --> @FiloSottile commented on GitHub (Mar 21, 2020): This does not look like a mkcert issue: I assume the problem will be the same if you try to run `certutil` directly. You can try your luck with the Homebrew issue tracker, or maybe `brew reinstall nss` will help.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#157
No description provided.