Questions tagged [nss]

Network Security Services (NSS) is a set of libraries designed and maintained by Mozilla to support cross-platform development of security-enabled client and server applications.

Network Security Services (NSS) is a set of libraries designed and maintained by Mozilla to support cross-platform development of security-enabled client and server applications. Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards.

169 questions
0
votes
2 answers

How to resolve "Error code: sec_error_invalid_algorithm"?

I am failed to load Google in my Firefox and getting the following error : error Secure Connection Failed. An error occurred during a connection to WWW.Google.com. security library: invalid algorithm. ** (Error code:…
Sana
  • 118
  • 2
  • 13
0
votes
1 answer

mod_nss with Apache public Certificate issue

I have replaced mod_ssl with mod_nss for FIPS cryptography and it works great with Apache but now we have wildcard certificate which i want to import into NSS database but i don't know how do i import certificate private key? I am using following…
Satish
  • 16,544
  • 29
  • 93
  • 149
0
votes
1 answer

Why would PK11_GenerateRandom() return an error -8023?

I am looking through the Internet trying to find the source of the PK11_GenerateRandom() function to see why would the function fail. I have a program that perfectly uses this function but when we moved to a new flavor of Linux, it fails after…
Grzegorz
  • 3,207
  • 3
  • 20
  • 43
0
votes
1 answer

no such algorithm: SunTls12RsaPremasterSecret for provider SunPKCS11-NSSFIPS

I have run into an issue after updating my JRE to 7u51. Prior to this, things were working fine. I have a web application that runs on Tomcat and it uses the mozilla NSS libraries to achieve FIPS 140-2 compliance when using SSL/TLS. To do this, I…
Seephor
  • 1,692
  • 3
  • 28
  • 50
0
votes
1 answer

java.lang.UnsatisfiedLinkError: org.mozilla.jss.ssl.SSLSocket.setSSLDefaultOption

I'm trying to get some NSS code working and I'm getting this error: java.lang.UnsatisfiedLinkError: org.mozilla.jss.ssl.SSLSocket.setSSLDefaultOption(II)V at org.mozilla.jss.ssl.SSLSocket.setSSLDefaultOption(Native Method) at…
csks
0
votes
2 answers

Understanding NSS PK11_CipherOp and C memory allocation

Having some issues with C. I have this is my code: // First line works, second line does not! char outbuf[1024]; // char *outbuf = (char *) malloc(1024); // char is always 1 I am passing this outbuf to a method called PK11_CipherOp(), declared in…
Hamy
  • 20,662
  • 15
  • 74
  • 102
0
votes
1 answer

NSS on FireFox on Android

I was trying to get the default cert DB of firefox on android using ctypes and NSS(CERT_GetDefaultCertDB). But I was not able to open NSS on FF android. Is NSS available on FireFox on Android? I tried the follwing: var ds =…
reevh
  • 735
  • 2
  • 8
  • 20
0
votes
1 answer

SSLsample in NSS

Since the latest version of NSS does not provide the SSLSample program, I copied the folder SSLSample from the older version of NSS (3.9, 3.12) to the /security/nss/cmd folder inside nss-3.12.4 . When I run make nss_build_all in my 3.12.4, the other…
karikari
  • 6,627
  • 16
  • 64
  • 79
0
votes
1 answer

Using NSS for calling pkcs#11 functions

I want to use NSS (Network Security Services) for using AES functions through pkcs#11 interface, but I can not find any example. I use C++ for calling pkcs#11 functions. How should I do it?
Maryam Saeidi
  • 1,463
  • 2
  • 21
  • 33
0
votes
1 answer

When does firefox call nss_init?

I have my very own privacy CA library. So now I want to integrate it with the mozilla nss. So every time when my firefox want to access https page, it will call this library via nss. my problem is, i could not find, at with point (or with source…
karikari
  • 6,627
  • 16
  • 64
  • 79
0
votes
1 answer

Initializing NSS using Certificate DB

I am writing a NPAPI plugin, from which i need to access firefox certificate store. I have included the Gecko SDK and i want to initialize NSS with the default certificate DB. I am unable to find on how to obtain the certificate DB path…
Buzz LIghtyear
  • 480
  • 5
  • 16
0
votes
1 answer

Why is the NSS PK12UTIL that is being called from a java process reporting bad database?

I do the following: File tmpDir = com.google.common.io.Files.createTempDir(); tmpDir.deleteOnExit(); // determine command based upon OS String prefix = "pk12util"; String command = String.format( "-i %s -d sql:%s -W '' -K ''", …
user130532
0
votes
2 answers

XPI signing linux no gui

I'm trying to sign an XPI on linux (no gui) using the NSS cert db (cert8.db and key3.db) i copied from another server of mine, on which I can sign XPI's just fine. On the new box I can sign with a brand new test certificate ok, but when i try to…
Mike
0
votes
2 answers

IOS Application to send data to a REST API service content-type definition error

I managed to make an application to send data to a rest api service. The content type must be text/html. But whenever i run my app i get a 415 http code response which means not supported type of content. Here is my code: NSURL *url = [NSURL…
0
votes
3 answers

NSS not working with Java 7 update 6

I was using jre6 with NSS (version 3.4.12) in my project and it was working fine. I recently updated to jre7 update 6 (Released 2012 Aug 14th), and suddenly the application stopped working giving following exception. java.lang.UnsatisfiedLinkError:…
Atul Soman
  • 4,612
  • 4
  • 30
  • 45
1 2 3
11
12