Questions tagged [ssl-certificate]

An SSL certificate is an X.509 certificate that is used to provide authentication, privacy and integrity for a secure connection. Although the acronym refers to Secure Sockets Layer, the SSL protocol is deprecated and the certificates are more commonly used for Transport Layer Security (TLS) connections.

An SSL certificate is an X.509 certificate that is used to provide authentication, privacy and integrity for a secure connection. Although the acronym refers to Secure Sockets Layer, the SSL protocol is deprecated and the certificates are more commonly used for Transport Layer Security (TLS) connections.

10580 questions
82
votes
2 answers

nginx - set multiple server_name with ssl-support

I'd love to use nginx to serve a website with multiple domain names and SSL: webmail.example.com webmail.beispiel.de Both use the same vhost so I only set the server_name twice. Problem is, that I need nginx to serve the correct ssl certificate…
PascalTurbo
  • 2,189
  • 3
  • 24
  • 41
82
votes
14 answers

Certificate is trusted by PC but not by Android

Since this morning, my certificate is not trusted anymore on Android and then my application cannot connect anymore: Catch exception while startHandshake: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust…
Alexis
  • 16,629
  • 17
  • 62
  • 107
81
votes
1 answer

How to create self signed SSL certificate for test purposes?

How to easily create self signed SSL certificate for testing purposes?
Dima Stopel
  • 2,427
  • 2
  • 17
  • 12
80
votes
3 answers

Chrome "Active content with certificate errors"

We recently updated our ZNC server (don't think this matters) with a new certificate to include a Subject Alternative Name (SAN) DNS field. It works now in incognito but my existing session shows the error "This page is not secure (broken HTTPS)."…
Elijah Lynn
  • 12,272
  • 10
  • 61
  • 91
79
votes
18 answers

how to fix stream_socket_enable_crypto(): SSL operation failed with code 1

stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Im using Laravel 4.2, PHP 5.6, Apache 2.4 I have GoDaddy SSL installed in…
user4612911
78
votes
7 answers

Android Emulator "Chain Validation Failed" connecting developers machine with self-signed cert

I have an Android Studio project that calls a web based API service. When the service code is in dev, qa, prod etc. There are NO certificate issues but when trying to hit the web api developers box to test a new feature / bug fix / etc. I get: No…
GPGVM
  • 5,515
  • 10
  • 56
  • 97
78
votes
4 answers

SSL error downloading NLTK data

I am trying to download NLTK 3.0 for use with Python 3.6 on Mac OS X 10.7.5, but am getting an SSL error: import nltk nltk.download() I downloaded NLTK with a pip3 command: sudo pip3 install -U nltk. Changing the index in the NLTK downloader…
DyingIsFun
  • 1,227
  • 2
  • 10
  • 21
74
votes
1 answer

Assigning a domain name to localhost for development environment

I am building a website and would not like to reconfigure the website from pointing to http://127.0.0.1 to http://www.example.com. Furthermore, the certificate that I am using is of course made with the proper domain name of www.example.com but my…
fixedpoint
  • 1,575
  • 1
  • 17
  • 24
73
votes
10 answers

Ignore self-signed ssl cert using Jersey Client

I'm using the Jersey Client library to run tests against a rest service running on jboss. I have https set up fine on the server (running on localhost), using a self signed cert. However whenever I run my tests with the https url I get the…
Chris Salij
  • 3,096
  • 5
  • 26
  • 43
71
votes
2 answers

openssl s_client -cert: Proving a client certificate was sent to the server

Background I am stuck in a finger-pointing match with a service provider with an API protected by SSL server and client certificates. I have generated a CSR, obtained a certificate from a public CA (GoDaddy in this case) and provided the…
beporter
  • 3,740
  • 3
  • 37
  • 45
70
votes
6 answers

How to use a client certificate to authenticate and authorize in a Web API

I am trying to use a client certificate to authenticate and authorize devices using a Web API and developed a simple proof of concept to work through issues with the potential solution. I am running into an issue where the client certificate is not…
70
votes
1 answer

This certificate has an invalid issuer : Keychain marks all certificates as "Invalid Issuer"

Keychain shows all the certificates as Invalid in my keychain suddenly, as it working before 2 days and i also check in Developer portal and it shows valid there. It marks each and every certificate in Keychain as "This certificate has invalid…
technerd
  • 14,144
  • 10
  • 61
  • 92
68
votes
21 answers

"The parameter is incorrect" error using "netsh http add sslcert"

Following the instructions in How to: Configure a Port with an SSL Certificate, I entered this command on the command line (duh): netsh http add sslcert ipport:10.141.146.227:7001 certhash=5d48e604007b867ae8a69260a4ad318d2c05d8ff…
Derrick
  • 831
  • 1
  • 7
  • 9
67
votes
6 answers

using requests with TLS doesn't give SNI support

I'm using requests to communicate with a django app but When I try requests.get('https://mysite.com', verify=True) I get the error: hostname 'mysite.com' doesn't match either of '*.myhost.com', 'myhost.com' However, when I look at the browser, or…
Massagran
  • 1,781
  • 1
  • 20
  • 29
66
votes
8 answers

How to save the LDAP SSL Certificate from OpenSSL

I wanted the SSL Certificate of my LDAP Server which is Novell eDirectory. I have used openssl to connect to ldap to view the certificate. openssl s_client -connect 192.168.1.225:636 It is just printing the certificate. How can I save this to some…
Dungeon Hunter
  • 19,827
  • 13
  • 59
  • 82