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
307
votes
13 answers

How to use NSURLConnection to connect with SSL for an untrusted cert?

I have the following simple code to connect to a SSL webpage NSMutableURLRequest *urlRequest=[NSMutableURLRequest requestWithURL:url]; [ NSURLConnection sendSynchronousRequest: urlRequest returningResponse: nil error: &error ]; Except it gives an…
erotsppa
  • 14,248
  • 33
  • 123
  • 181
274
votes
26 answers

Scraping: SSL: CERTIFICATE_VERIFY_FAILED error for http://en.wikipedia.org

I'm practicing the code from 'Web Scraping with Python', and I keep having this certificate problem: from urllib.request import urlopen from bs4 import BeautifulSoup import re pages = set() def getLinks(pageUrl): global pages html =…
Catherine4j
  • 2,772
  • 2
  • 8
  • 10
268
votes
22 answers

Trust Anchor not found for Android SSL Connection

I am trying to connect to an IIS6 box running a godaddy 256bit SSL cert, and I am getting the error : java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. Been trying to determine what could be causing that,…
Chrispix
  • 17,941
  • 20
  • 62
  • 70
267
votes
22 answers

Error: unable to verify the first certificate in nodejs

I'm trying to download a file from jira server using an URL but I'm getting an error. how to include certificate in the code to verify? Error: Error: unable to verify the first certificate in nodejs at Error (native) at TLSSocket.
Labeo
  • 5,831
  • 13
  • 47
  • 77
237
votes
21 answers

What do I need to do to get Internet Explorer 8 to accept a self signed certificate?

We use self signed certificates on our intranet. What do I need to do to get Internet Explorer 8 to accept them without showing an error message to the user? What we did for Internet Explorer 7 apparently isn't working. EDIT: Internet Explorer 7…
Jay
225
votes
3 answers

configure Git to accept a particular self-signed server certificate for a particular https remote

The sysadmin for a project I'm on has decided that SSH is "too much trouble"; instead, he has set up Git to be accessible via an https:// URL (and username/password authentication). The server for this URL presents a self-signed certificate, so he…
zwol
  • 135,547
  • 38
  • 252
  • 361
207
votes
8 answers

Failed to load resource: net::ERR_INSECURE_RESPONSE

IS there a way to trick the server so I don't get this error: Content was blocked because it was not signed by a valid security certificate. I'm pulling an iframe of an html website into another website but I keep getting the console (chrome)…
user3594437
  • 2,103
  • 3
  • 13
  • 8
204
votes
13 answers

How can I create a self-signed cert for localhost?

I've gone through the steps detailed in How do you use https / SSL on localhost? but this sets up a self-signed cert for my machine name, and when browsing it via https://localhost I receive the IE warning. Is there a way to create a self-signed…
chris
  • 36,094
  • 53
  • 157
  • 237
192
votes
17 answers

create a trusted self-signed SSL cert for localhost (for use with Express/Node)

Trying to follow various instructions on creating a self-signed cert for use with localhost, Most of the instructions seem to be for IIS, but I'm trying to use Nodejs/Express. None of them work properly because while the cert gets installed, it…
JasonS
  • 7,443
  • 5
  • 41
  • 61
190
votes
13 answers

How to properly import a selfsigned certificate into Java keystore that is available to all Java applications by default?

I do want to import a self signed certificate into Java so any Java application that will try to establish a SSL connection will trust this certificate. So far, I managed to import it in keytool -import -trustcacerts -noprompt -storepass changeit…
sorin
  • 161,544
  • 178
  • 535
  • 806
189
votes
11 answers

Creating .pem file for APNS?

How do I create a .pem file to be stored in the hosting server for APN payload data?
Biranchi
  • 16,120
  • 23
  • 124
  • 161
180
votes
14 answers

Java Keytool error after importing certificate , "keytool error: java.io.FileNotFoundException & Access Denied"

I'm trying to connect a Java Web API via HTTPS; however, an exception is thrown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException I followed these steps which I learned from online keytool & SSL cert tutorials: I…
cyber101
  • 2,822
  • 14
  • 50
  • 93
177
votes
17 answers

Not able to install Python packages [SSL: TLSV1_ALERT_PROTOCOL_VERSION]

I am trying to install a Python library using pip, getting an SSL error: ~/projects/base  pre-master± pip install xdict Collecting xdict Could not fetch URL https://pypi.python.org/simple/xdict/: There was a problem confirming the ssl…
Nishant Nawarkhede
  • 8,234
  • 12
  • 59
  • 81
174
votes
20 answers

Received fatal alert: handshake_failure through SSLHandshakeException

I have a problem with authorized SSL connection. I have created Struts Action that connects to external server with Client Authorized SSL certificate. In my Action I am trying to send some data to bank server but without any luck, because I have as…
Denees
  • 9,100
  • 13
  • 47
  • 76
172
votes
8 answers

How to tell Maven to disregard SSL errors (and trusting all certs)?

I frequently need to run "mvn" command : mvn -f pom.xml clean install -Dmaven.test.skip=false --settings /Users/myhome/settings.xml -X -Djavax.net.ssl.trustStore=/Users/myhome/truststore.jks -Djavax.net.ssl.trustStoreType=JKS…
Novice User
  • 3,552
  • 6
  • 31
  • 56