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

Java nssdb connection: Could not initialize NSS

I'm trying to pull certificate data from an nss db using Java. Here is my code: try { char[] password = new char[0]; Provider nss = new sun.security.pkcs11.SunPKCS11("C:\\ntdps_temp\\proj\\NSSdb\\scripts\\pkcs11.cfg"); …
sufah1
  • 81
  • 7
0
votes
1 answer

undefined reference to symbol 'CERT_GetDefaultCertDB@@NSS_3.2'

I recently added libcurl dependency to my c++ library. I statically compiled libcurl with-nss for https support. I use Debian 7 for compilation. I create two builds for my library - static and shared Shared version is linking fine with binaries…
adnan kamili
  • 8,967
  • 7
  • 65
  • 125
0
votes
0 answers

All TLS requests giving Peer's certificate issuer has been marked as not trusted by the user

When I try an https request to google.com, I just recently started seeing [root@ip-172-31-47-76 ~]# curl -I -v https://google.com * Rebuilt URL to: https://google.com/ * Trying 216.58.193.78... * TCP_NODELAY set * Connected to google.com…
Travis
  • 49
  • 1
  • 3
0
votes
0 answers

SSL connection working with OpenSSL but not with NSS

I'm trying to connect to a website using curl. On my local machine i can connect, but on the development server it doesn't work. curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true ); curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, true ); …
0
votes
1 answer

NSS Secret (symmetric) Key Import

I am trying to figure out how to import a symmetric key into NSS for use with encryption at the core crypto boundary. These functions are described…
noone392
  • 1,624
  • 3
  • 18
  • 30
0
votes
1 answer

SSL certs on node.js servers running websockets secure (WSS)

So I have a bunch of express node servers that run websockets (ws) just fine and i am looking to transition into using wss (websockets secure). I've got the https server running and wss even works on local host using a self-signed certificate. But…
Chris Scott
  • 583
  • 1
  • 7
  • 23
0
votes
1 answer

curl: (35) NSS: client certificate not found (nickname not specified) Centos 7

i am trying to establish a connection to the server using server signed certificate but i keep getting this error whereas both the CA and certificate are ok. Any help is highly appreciated. thanks Initializing NSS with certpath:…
Baguma
  • 173
  • 1
  • 2
  • 15
0
votes
1 answer

Nss version Update (Ubuntu)

On my ubuntu PC I have nss version 3.28.4 and I wanna update the version to 3.30.2 how can I do that easly. I found this way but I need easiest way for my client. Thanks for your helps.
Sefa
  • 29
  • 2
  • 9
0
votes
1 answer

How to use Mozilla Network Security Services(NSS) in VS2015

I want use functions from Mozilla Network Security Services, but I didn't find how to work with them from Visual Studio 2015. I downloaded it from here, but I get an error when I try to build it: Not found 'types.h' (I searched for the file in…
hector
  • 1
  • 1
0
votes
1 answer

PHP Curl Error: Unable to load client cert -8018. (Connecting to SSO API)

I'm trying to connect to a Single Sign On API using Curl in PHP But I am getting a -8018 error. I converted private key to RSA key. But still I am an error. Here is the PHP Source: $cert_file = 'etc/pki/nssdb/new.pem'; $cert_password =…
NDesai
  • 1,741
  • 2
  • 12
  • 16
0
votes
1 answer

cURL not working for HTTPS (Error: 77)

PHP curl is not working for https requests on Amazon Linux. This is what I get when I curl an https url: curl -v https://google.com Rebuilt URL to: https://google.com/ Trying 172.217.3.174... Connected to google.com (172.217.3.174) port 443…
umair
  • 957
  • 1
  • 9
  • 21
0
votes
0 answers

Why does CURL return SSL_ERROR_BAD_CERT_DOMAIN for *.mycomp

I have a certificate for *.mydomain, and trying to reach the host with https://my-host.mydomain . Here's the verbose output (scrambled a bit). curl https://my-host.mydomain --verbose * Rebuilt URL to: https://my-host.mydomain/ * Trying…
LOST
  • 2,956
  • 3
  • 25
  • 40
0
votes
1 answer

Where to find my FireFox profile? NSS cannot find external installed module/token in secmod.db

NOTE: I have found the answer to this question so I would close it. It's due to that the method returning the FireFox profile folder is not working, it just locates the directory where all profiles are located, but does not enter my profile folder.…
WesternGun
  • 11,303
  • 6
  • 88
  • 157
0
votes
1 answer

Build mozilla JSS

I followed NSS build instructions and built NSS successfully. Then I follow JSS build instructions and building fails with error: In file included from CryptoManager.c:6:0: ../../../../dist/public/nss/secitem.h:15:21: fatal error: plarena.h: No such…
0
votes
3 answers

getent passwd error on SLES12

While configuring the LDAP authentication i faced the following problem. I have configured the nss in nsswitch.conf file as follows: passwd: ldap files group: files shadow: files When i give the following command: getent passwd all the users…
Andreas Sk
  • 81
  • 2