NSS-POLICY-CHECK(1)
π NSS-POLICY-CHECK π
bestie. okay. so this is nss-policy-check, one of the NSS Security Tools, and honestly? it's the vibe-checker of the crypto world.
β¨ NAME β¨
nss-policy-check policy-file β literally just tell it which policy file to look at and it'll spill all the tea π«
β¨ SYNOPSIS β¨
nss-policy-check
β¨ DESCRIPTION β¨
okay so here's the deal: nss-policy-check goes in and verifies the crypto-policy configuration β the thing that controls which crypto algorithms are allowed or disallowed to be used inside the NSS library. like a bouncer at the club but for algorithms. π
and that crypto-policy configuration can live in one of two places, no cap:
- a system-wide configuration file β the path is specified with the
POLICY_PATHandPOLICY_FILEbuild options - or in the
pkcs11.txtinside the NSS database
πΈ USAGE AND EXAMPLES πΈ
say you wanna check the global crypto-policy configuration sitting at /etc/crypto-policies/back-ends/nss.config β iconic choice, just run this:
$ nss-policy-check /etc/crypto-policies/back-ends/nss.config
NSS-POLICY-INFO: LOADED-SUCCESSFULLY
NSS-POLICY-INFO: PRIME256V1 is enabled for KX
NSS-POLICY-INFO: PRIME256V1 is enabled for CERT-SIGNATURE
NSS-POLICY-INFO: SECP256R1 is enabled for KX
NSS-POLICY-INFO: SECP256R1 is enabled for CERT-SIGNATURE
NSS-POLICY-INFO: SECP384R1 is enabled for KX
NSS-POLICY-INFO: SECP384R1 is enabled for CERT-SIGNATURE
...
NSS-POLICY-INFO: NUMBER-OF-SSL-ALG-KX: 13
NSS-POLICY-INFO: NUMBER-OF-SSL-ALG: 9
NSS-POLICY-INFO: NUMBER-OF-CERT-SIG: 9
...
NSS-POLICY-INFO: ciphersuite TLS_AES_128_GCM_SHA256 is enabled
NSS-POLICY-INFO: ciphersuite TLS_CHACHA20_POLY1305_SHA256 is enabled
NSS-POLICY-INFO: ciphersuite TLS_AES_256_GCM_SHA384 is enabled
...
NSS-POLICY-INFO: NUMBER-OF-CIPHERSUITES: 24
NSS-POLICY-INFO: NUMBER-OF-TLS-VERSIONS: 3
NSS-POLICY-INFO: NUMBER-OF-DTLS-VERSIONS: 2
see how much it's giving? so much info. so organized. we love a thorough queen. π
now β if something goes wrong or there's a little warning moment, it gets prefixed with NSS-POLICY-FAIL or NSS-POLICY_WARN. so keep an eye out for those, fr fr. π
and the exit status, listen up because this matters:
2β if any failure is found π1β if any warning is found π0β if no errors are found β
π¦ ADDITIONAL RESOURCES π¦
wanna know more about NSS and all the other tools related to NSS (like JSS)? go check out the NSS project wiki at http://www.mozilla.org/projects/security/pki/nss/. the NSS site relates directly to NSS code changes and releases, so it's genuinely the place to be. β¨
- Mailing lists:
https://lists.mozilla.org/listinfo/dev-tech-crypto - IRC: Freenode at
#dogtag-pki
π AUTHORS π
the NSS tools were written and maintained by developers with Netscape, Red Hat, Sun, Oracle, Mozilla, and Google. absolute legends, all of them. π
Authors: Elio Maldonado <emaldona@redhat.com>, Deon Lackey <dlackey@redhat.com>.
π LICENSE π
Licensed under the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
okay that's the whole page bestie, go forth and policy-check responsibly π«Ά
mwah π β this has been nss-tools, dated 22 June 2026, signing off β¨
π¦ where this page comes from
- centos-stream 10: nss-tools 3.124.0-5.el10 Β· MPL-2.0
- centos-stream 9: nss-tools 3.124.0-5.el9 Β· MPLv2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms