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
1
vote
0 answers

Where is the default NSS database used by Dart pub found on OSX?

Where is the default NSS database used by dart, particularly pub on OS X? Is it possible to add a root CA to that database?
Fred Hart
  • 21
  • 2
1
vote
1 answer

return of CERT_FindUserCertByUsage in javascript

I am trying to understand the relationship between C++ dll and JavaScript. There is a js code: cert = CERT_FindUserCertByUsage(certDB, certName.nickname,certUsageEmailSigner, true, null); where cert is defined as let cert = null; However in C++,…
Nona Haron
  • 171
  • 1
  • 1
  • 6
1
vote
1 answer

NSS error when starting google-chrome in cent os 7

This is my first question. I have been very confused by this for more than a month. Google Chrome always crashes with an NSS error. The error message message is: "Error initializing NSS without a persistent database". I have re-installed Chrome,…
takeda
  • 11
  • 4
1
vote
0 answers

CryptUIDlgSelectCertificateFromStore for CSP. How about PKCS#11?

There exist a function called CryptUIDlgSelectCertificateFromStore in Windows library. It allows user to select a certificate from a list of certificates found in the cert store for Internet Explorer. I am searching for the equivalent function in…
Nona Haron
  • 171
  • 1
  • 1
  • 6
1
vote
2 answers

Does TLS1.2 work with NSS in FIPS mode using JSSE configured with SunPKCS11-NSS provider

We are trying to get TLS1.2 working in FIPS mode in the following environment. When attempting to write to an SSLSocket created with a SSLContext for protocol “TLSv1.2” it fails with the error java.security.NoSuchAlgorithmException: no such…
user2275472
  • 41
  • 1
  • 6
1
vote
2 answers

Corosync fails to build in slackware

I'm trying to build corosync 2.3.4 from source in a slackware 14.1 (32 bits). The vanilla configuration can't find the nss package (mozilla-nss-3.15.2-i486-2.txz) headers so I had to set CPPFLAGS before config to "-I/usr/include/ -I/usr/include/nss/…
1
vote
1 answer

Converting CERTCertificate derCert to SECKEYPublicKey

I'm using C++ with nss and nspr libraries on 64 bit Ubuntu Linux and am trying to convert CERTCertificate derCert to SECKEYPublicKey but SECKEY_ImportDERPublicKey keeps returning -8183: Security library: improperly formatted DER-encoded message. I…
Domen Vrankar
  • 1,743
  • 15
  • 19
1
vote
2 answers

Crash in Firefox extension Using NSS

I am new to Firefox extension development. We got a firefox Extension that signs PDF (encapsulated signature) working for all versions of firefox prior to 22 (22 not included) Using NSS 3.12. After that Firefox version, there is a modification in…
brosini
  • 169
  • 6
1
vote
0 answers

JSS security over http tunneling

I have a mozila.jss ssl socket and I'm using it for RMI connection. I'm trying to convert the RMI connection to RMI-over-http connection using apache server with tomcat. For the RMI-over-http I'm using RMIHttpsToCGISocketFactory. The question is how…
1
vote
2 answers

Firefox 27 : NSS_Init fails

I am working on password recovery tool with nss3.dll. I have loaded nss3.dll but NSS_Init function fails. here is my code. typedef enum _SECStatus { SECWouldBlock = -2, SECFailure = -1, SECSuccess = 0 } SECStatus; typedef struct…
Nik
  • 682
  • 1
  • 8
  • 27
1
vote
1 answer

updating openssl, now link error with NSSLOW_

We have centos6 6.5 64bit server. It had been setup for 32bit development. Our project is statically linked. a team member installed the most recent openssl, openssl-devel, and openssl-static 64bit and 32bit i686 libraries. Nothing else in our…
PhilC
  • 291
  • 1
  • 14
1
vote
1 answer

RPM broken after removing nss3

I was trying to remove some unneeded packages from RPM and I removed nss-3.12.8 using the --force flag (stupid, I know). Now all RPM commands aside from --help return instantly and do nothing. I've tried -rebuilddb and that command does nothing as…
gsharp
  • 27
  • 5
1
vote
1 answer

Linux integration into Active Directory (Cross domain)

I am trying to test a solution of integrating my Debian 6 Squeeze machine in an Active Directory domain. I dit it with libnss-ldap.conf & ldap.conf Now, I want to authenticate other users from different domain which I manage. Can you give me the…
Mouad A.
  • 41
  • 3
1
vote
1 answer

IOS Application to send data to a Rest API service

I want to create an iPhone application to send data to a Rest API service. If the data is a string defined as geoX#35#geoY#65 which NSS method shall i use. Was thinking of NSString and NSMutablerequest to make my request and define my string but…
0
votes
0 answers

Alternative to '/etc/group' through NSS

I would have said that libc should have a function (maybe something like getGroupsByUsername) that would return a list of all groups a user should be a member of, and that this function would be implemented by NSS. And then, the files service from…
Hobber
  • 194
  • 1
  • 13