Johanna Amann
and 1 contributors


Alien::NSS - Alien wrapper for NSS ( Network Security Services )


This library provides an alien wrapper for NSS, the cryptographic library that is ( among others ) used in Mozilla Firefox and Google Chrome.


  use strict;
  use warnings;

  use Module::Build;
  use Alien::NSS;

  my $cflags = Alien::NSS->cflags;
  my $ldflags = Alien::NSS->libs;

  my $builder = Module::Build->new(
    module_name => 'my_lib',
    extra_compiler_flags => $cflags,
    extra_linker_flags => $ldflags,
    configure_requires => {
      'Alien::NSS => 0



Alien::NSS uses the Module::Build system for installation. The usual build process is

 perl Build.PL
 ./Build test
 ./Build install

Build Flags

When running perl Build.PL, certain command line flags may be passed:


Print all possible additional command line parameters for Building Alien::NSS


Specify the NSS version that should be installed. In this example, 3.17.2.


Apply a patch that deactivates CRL caching and checking during verification. This prevents certain problems when trying to load a high number of certificates into NSS. Apply only if you understand the consequences.



Johanna Amann, <>


This Library is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this library, You can obtain one at