Network Security Services

Screenshot of `about:support` on Firefox 133, showing Network Security Services 3.106 and related libraries version information

Developer(s)| Mozilla, AOL, Red Hat, Sun Microsystems, Oracle Corporation, Google and others
Stable release| | Standard| 3.84 / October 12, 2022; 3 years ago (2022-10-12)[1]

|

Extended Support Release| 3.79.1 / August 18, 2022; 3 years ago (2022-08-18)[1]
Written in| C, assembly
Operating system| Cross-platform
Platform| Cross-platform
Type| Libraries
License| MPL 2.0
Website| developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS

Network Security Services (NSS) is a collection of cryptographic computer libraries designed to support cross-platform development of security-enabled client and server applications with optional support for hardware TLS/SSL acceleration on the server side and hardware smart cards on the client side. NSS provides a complete open-source implementation of cryptographic libraries supporting Transport Layer Security (TLS) / Secure Sockets Layer (SSL) and S/MIME. NSS releases prior to version 3.14 are tri-licensed under the Mozilla Public License 1.1, the GNU General Public License, and the GNU Lesser General Public License. Since release 3.14, NSS releases are licensed under GPL-compatible Mozilla Public License 2.0.[2]

## Contents

* 1 History
* 1.1 FIPS 140 validation and NISCC testing
* 2 Applications that use NSS
* 3 Architecture
* 3.1 Software development kit
* 3.2 Interoperability and open standards
* 3.3 Hardware support
* 3.4 Java support
* 4 See also
* 5 References
* 6 External links

## History

NSS originated from the libraries developed when Netscape invented the SSL security protocol.

### FIPS 140 validation and NISCC testing

The NSS software crypto module has been validated five times (in 1997,[3] 1999, 2002,[4] 2007, and 2010[5]) for conformance to FIPS 140 at Security Levels 1 and 2.[6] NSS was the first open source cryptographic library to receive FIPS 140 validation.[6] The NSS libraries passed the NISCC TLS/SSL and S/MIME test suites (1.6 million test cases of invalid input data).[6]

## Applications that use NSS

AOL, Red Hat, Sun Microsystems/Oracle Corporation, Google and other companies and individual contributors have co-developed NSS. Mozilla provides the source code repository, bug tracking system, and infrastructure for mailing lists and discussion groups. They and others named below use NSS in a variety of products, including the following:

* Mozilla client products, including Firefox, Thunderbird, SeaMonkey, and Firefox for mobile.[7]
* AOL Communicator and AOL Instant Messenger (AIM)
* Open source client applications such as Evolution, Pidgin, and OpenOffice.org 2.0 onward (and its descendants).
* Server products from Red Hat: Red Hat Directory Server, Red Hat Certificate System, and the mod nss SSL module for the Apache web server.
* Sun server products from the Sun Java Enterprise System, including Sun Java System Web Server, Sun Java System Directory Server, Sun Java System Portal Server, Sun Java System Messaging Server, and Sun Java System Application Server, open source version of Directory Server OpenDS.
* Libreswan IKE/IPsec requires NSS. It is a fork of Openswan which could optionally use NSS.

## Architecture

NSS includes a framework to which developers and OEMs can contribute patches, such as assembly code, to optimize performance on their platforms. Mozilla has certified NSS 3.x on 18 platforms.[8][9] NSS makes use of Netscape Portable Runtime (NSPR), a platform-neutral open-source API for system functions designed to facilitate cross-platform development. Like NSS, NSPR has been used heavily in multiple products.

### Software development kit

In addition to libraries and APIs, NSS provides security tools required for debugging, diagnostics, certificate and key management, cryptography-module management, and other development tasks. NSS comes with an extensive and growing set of documentation, including introductory material, API references, `man` pages for command-line tools, and sample code.

Programmers can utilize NSS as source and as shared (dynamic) libraries. Every NSS release is backward-compatible with previous releases, allowing NSS users to upgrade to new NSS shared libraries without recompiling or relinking their applications.

### Interoperability and open standards

NSS supports a range of security standards, including the following:[10][11]

* TLS 1.0 (RFC 2246), 1.1 (RFC 4346), 1.2 (RFC 5246), and 1.3 (RFC 8446). The Transport Layer Security (TLS) protocol from the IETF supersedes SSL v3.0 while remaining backward-compatible with SSL v3 implementations.
* SSL 3.0. The Secure Sockets Layer (SSL) protocol allows mutual authentication between a client and server and the establishment of an authenticated and encrypted connection.
* DTLS 1.0 (RFC 4347) and 1.2 (RFC 6347).
* DTLS-SRTP (RFC 5764).
* The following PKCS standards:
* PKCS #1. RSA standard that governs implementation of public-key cryptography based on the RSA algorithm.
* PKCS #3. RSA standard that governs implementation of Diffie–Hellman key agreement.
* PKCS #5. RSA standard that governs password-based cryptography, for example to encrypt private keys for storage.
* PKCS #7. RSA standard that governs the application of cryptography to data, for example digital signatures and digital envelopes.
* PKCS #8. RSA standard that governs the storage and encryption of private keys.
* PKCS #9. RSA standard that governs selected attribute types, including those used with PKCS #7, PKCS #8, and PKCS #10.
* PKCS #10. RSA standard that governs the syntax for certificate requests.
* PKCS #11. RSA standard that governs communication with cryptographic tokens (such as hardware accelerators and smart cards) and permits application independence from specific algorithms and implementations.
* PKCS #12. RSA standard that governs the format used to store or transport private keys, certificates, and other secret material.
* Cryptographic Message Syntax, used in S/MIME (RFC 2311 and RFC 2633). IETF message specification (based on the popular Internet MIME standard) that provides a consistent way to send and receive signed and encrypted MIME data.
* X.509 v3. ITU standard that governs the format of certificates used for authentication in public-key cryptography.
* OCSP (RFC 2560). The Online Certificate Status Protocol (OCSP) governs real-time confirmation of certificate validity.
* PKIX Certificate and CRL Profile (RFC 3280). The first part of the four-part standard under development by the Public-Key Infrastructure (X.509) working group of the IETF (known as PKIX) for a public-key infrastructure for the Internet.
* RSA, DSA, ECDSA, Diffie–Hellman, EC Diffie–Hellman, AES, Triple DES, Camellia, IDEA, SEED, DES, RC2, RC4, SHA-1, SHA-256, SHA-384, SHA-512, MD2, MD5, HMAC: Common cryptographic algorithms used in public-key and symmetric-key cryptography.
* FIPS 186-2 pseudorandom number generator.

### Hardware support

NSS supports the PKCS #11 interface for access to cryptographic hardware like TLS/SSL accelerators, hardware security modules and smart cards. Since most hardware vendors such as SafeNet, AEP and Thales also support this interface, NSS-enabled applications can work with high-speed crypto hardware and use private keys residing on various smart cards, if vendors provide the necessary middleware. NSS version 3.13 and above support the Advanced Encryption Standard New Instructions (AES-NI).[12]

### Java support

Network Security Services for Java (JSS) consists of a Java interface to NSS. It supports most of the security standards and encryption technologies supported by NSS. JSS also provides a pure Java interface for ASN.1 types and BER/DER encoding.[13]

## See also

* Information security
* Comparison of TLS implementations

## References

1. ↑ 1.0 1.1 "NSS:Release versions". Mozilla Wiki. https://wiki.mozilla.org/NSS:Release_Versions.
2. ↑ "The Basics and Benefits of Network Security". KAVYA. 2025-02-09. https://www.lucidchart.com/blog/network-security-basics-and-benefits.
3. ↑ "Cryptographic Module Validation Program: Certificate #7". NIST. 1997-08-29. https://csrc.nist.gov/projects/cryptographic-module-validation-program/certificate/7. "module:Netscape Security Module 1, vendor: Netscape Communications Corporation"
4. ↑ "Cryptographic Module Validation Program: Certificate #248". NIST. 2002-09-04. https://csrc.nist.gov/projects/cryptographic-module-validation-program/certificate/248. "module: Network Security Services, vendor: Sun Microsystems, Inc."
5. ↑ "Cryptographic Module Validation Program: Certificate #1280". NIST. 2010-03-29. https://csrc.nist.gov/projects/cryptographic-module-validation-program/certificate/1280. "module: Network Security Services (NSS) Cryptographic Module, vendor: Sun Microsystems, Inc., Red Hat®, Inc. and Mozilla Foundation, Inc."
6. ↑ 6.0 6.1 6.2 "FIPS". Mozilla Foundation. 2007-10-11. https://www-archive.mozilla.org/projects/security/pki/nss/fips/.
7. ↑ "Does Fennec use NSS?". mozilla.dev.security.policy newsgroup. 2010-04-09. https://groups.google.com/forum/#!topic/mozilla.dev.security.policy/slYF2S8GYpE.
8. ↑ "Overview of NSS: Open Source Crypto Libraries". Mozilla. 2020-03-02. https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Overview.
9. ↑ "NSS FAQ". Mozilla. 2019-11-21. https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/FAQ.
10. ↑ "Encryption Technologies Available in NSS 3.11". Mozilla. 2007-02-26. https://www-archive.mozilla.org/projects/security/pki/nss/nss-3.11/nss-3.11-algorithms.html.
11. ↑ "Releases List". http://www.matrixssl.org/news.html.
12. ↑ "AES-NI enhancements to NSS on Sandy Bridge systems". 2012-05-02. https://bugzilla.mozilla.org/show_bug.cgi?id=706024.
13. ↑ "jss: Network Security Services for Java is a Java interface to NSS". https://dogtagpki.github.io/jss/.

## External links

* Official website

* v
* t
* e

Mozilla

Projects

| Mozilla
Labs|

* Bugzilla
* ChatZilla
* Electrolysis Project
* Jetpack
* Lightning
* Persona
* Prism
* Raindrop
* Skywriter
* Sunbird
* PDF.js
* Sync
* Tinderbox
* Ubiquity

|

Mozilla
Research|

* asm.js
* Daala
* Firefox OS
* OpenFlint
* Open Media
* Rust
* Servo
* Shumway
* WebAssembly
* WebVR

Mozilla
Foundation|

* Mozilla Location Service
* SeaMonkey
* Thunderbird

| Firefox|

* Firefox Browser

* 1
* 1.5
* 2
* 3
* 3.5
* 3.6
* 4
* 5–current
* Future releases
* for Android
* Preview
* for iOS
* Focus

* Firefox Lockwise
* Firefox Monitor
* Firefox Send
* IRL - Online Life is Real Life

|

Origins|

* Mozilla Application Suite
* Netscape Navigator
* Netscape Communicator
* Netscape Communications
* Beonex Communicator

Forks|

* Basilisk
* BurningDog
* Classilla
* Flock
* Gnuzilla
* Goanna
* Iceape
* IceCat
* Icedove
* Iceowl
* Miro
* Netscape 9
* Pale Moon
* Portable Edition
* Swiftfox
* Swiftweasel
* TenFourFox
* UXP
* Waterfox
* xB Browser

Frameworks|

* Add-on
* Gecko
* Necko
* NPAPI
* XPConnect
* XBL
* XPCOM
* XPInstall
* XUL
* XULRunner

Components|

* Composer
* NSPR
* NSS
* Rhino
* SpiderMonkey
* Tamarin

Typefaces|

* Fira Sans
* Zilla Slab

Discontinued|

* Calendar Project
* Camino
* Firefox Home
* Grendel
* Minimo

Discontinued projects are in italics. Some projects abandoned by Mozilla that are still maintained by third parties are in bold.

Organization

| Foundation|

* Former Mozilla Organization
* Mozilla Foundation

|

Subsidiaries|

* Mozilla Corporation
* Mozilla Messaging
* Mozilla Online

Official affiliates|

* Mozilla China
* Mozilla Europe
* Mozilla Japan
* Mozilla Taiwan

People|

* Mitchell Baker
* David W. Barron
* Sheeri Cabral
* Tantek Çelik
* Brendan Eich
* John Hammink
* Robert O'Callahan
* Johnny Stenbäck
* Doug Turner
* Boris Zbarsky

Community

* mozdev.org
* Mozilla Add-ons
* MDN Web Docs
* MozillaZine
* Spread Firefox

Other topics

* The Book of Mozilla
* Code Rush
* Mozilla Public License
* Localizations
* Mascot
* Rebranding / forking

* v
* t
* e

Cryptographic software

Email clients|

* Apple Mail
* Autocrypt
* Claws Mail
* Enigmail
* GPG (Gpg4win)
* Kontact
* Outlook
* p≡p
* PGP
* Sylpheed
* Thunderbird

Secure
communication|

| OTR|

* Adium
* BitlBee
* Centericq
* ChatSecure
* climm
* Jitsi
* Kopete
* MCabber
* Profanity

|

SSH|

* Dropbear
* lsh
* OpenSSH
* PuTTY
* SecureCRT
* WinSCP
* wolfSSH

TLS & SSL|

* Bouncy Castle
* BoringSSL
* Botan
* cryptlib
* GnuTLS
* JSSE
* LibreSSL
* MatrixSSL
* NSS
* OpenSSL
* mbed TLS
* RSA BSAFE
* SChannel
* SSLeay
* stunnel
* wolfSSL

VPN|

* Check Point VPN-1
* Hamachi
* Openswan
* OpenVPN
* SoftEther VPN
* strongSwan
* Tinc
* WireGuard

ZRTP|

* CSipSimple
* Jitsi
* Linphone
* Jami
* Zfone

P2P|

* Bitmessage
* RetroShare
* Tox

DRA|

* Matrix
* OMEMO
* Conversations
* Cryptocat
* ChatSecure
* Proteus
* Signal Protocol
* Google Allo
* Facebook Messenger
* Signal
* TextSecure
* WhatsApp

Disk encryption
(Comparison)|

* BestCrypt
* BitLocker
* CrossCrypt
* Cryptoloop
* DiskCryptor
* dm-crypt
* DriveSentry
* E4M
* eCryptfs
* FileVault
* FreeOTFE
* GBDE
* geli
* LUKS
* PGPDisk
* Private Disk
* Scramdisk
* Sentry 2020
* TrueCrypt
* History
* VeraCrypt

Anonymity|

* GNUnet
* I2P
* Java Anon Proxy
* Tor
* Vidalia
* RetroShare
* Ricochet
* Wickr

File systems (List)|

* EncFS
* EFS
* eCryptfs
* LUKS
* PEFS
* Rubberhose
* StegFS
* Tahoe-LAFS

Service providers|

* Freenet
* Tresorit
* Wuala

Educational|

* CrypTool

Related topics|

* Outline of cryptography
* Timeline of cryptography
* Hash functions
* Cryptographic hash function
* List of hash functions
* S/MIME

* Category
* Commons

* v
* t
* e

TLS and SSL

Protocols and technologies|

* Transport Layer Security / Secure Sockets Layer (TLS/SSL)
* Datagram Transport Layer Security (DTLS)
* Server Name Indication (SNI)
* Application-Layer Protocol Negotiation (ALPN)
* DNS-based Authentication of Named Entities (DANE)
* DNS Certification Authority Authorization (CAA)
* HTTPS
* HTTP Strict Transport Security (HSTS)
* HTTP Public Key Pinning (HPKP)
* OCSP stapling
* Perfect forward secrecy
* STARTTLS

Public-key infrastructure|

* Automated Certificate Management Environment (ACME)
* Certificate authority (CA)
* CA/Browser Forum
* Certificate policy
* Certificate revocation list (CRL)
* Domain-validated certificate (DV)
* Extended Validation Certificate (EV)
* Online Certificate Status Protocol (OCSP)
* Public key certificate
* Public-key cryptography
* Public key infrastructure (PKI)
* Root certificate
* Self-signed certificate

See also|

* Domain Name System Security Extensions (DNSSEC)
* Internet Protocol Security (IPsec)
* Secure Shell (SSH)

History|

* Export of cryptography from the United States
* Server-Gated Cryptography

Implementations|

* Bouncy Castle
* BoringSSL
* Botan
* cryptlib
* GnuTLS
* JSSE
* LibreSSL
* MatrixSSL
* mbed TLS
* NSS
* OpenSSL
* RSA BSAFE
* S2n
* SChannel
* SSLeay
* stunnel
* wolfSSL

Notaries|

* Certificate Transparency
* Convergence
* HTTPS Everywhere
* Perspectives Project

Vulnerabilities|

| Theory|

* Man-in-the-middle attack
* Padding oracle attack

|

Cipher|

* Bar mitzvah attack

Protocol|

* BEAST
* BREACH
* CRIME
* DROWN
* Logjam
* POODLE (in regards to SSL 3.0)

Implementation|

* Certificate authority compromise
* Random number generator attacks
* FREAK
* goto fail
* Heartbleed
* Lucky Thirteen attack
* POODLE (in regards to TLS 1.0)
* Kazakhstan MITM attack

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Network Security Services. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Network_Security_Services&oldid=3982728"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template