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
54
votes
8 answers

Self-signed SSL acceptance on Android

How do I accept a self-signed certificate in Java on Android? A code sample would be perfect. I've looked everywhere on the Internet and while some people claim to have found the solution, it either does not work or there is no sample code to back…
Faisal Abid
  • 8,900
  • 14
  • 59
  • 91
53
votes
4 answers

Difference between https protocol and SSL Certificate

What is difference between https protocol and SSL Certificate that we use in web browser? Aren't both of these used to encrypt communication between client (browser) and server?
user32262
  • 8,660
  • 21
  • 64
  • 77
53
votes
4 answers

Are there any disadvantages to using a 4096-bit encrypted SSL certificate?

I was recently requesting a SSL cert via GoDaddy and noticed this message: In the past I have always generated 2048-bit CSR requests, but this time it got me thinking that perhaps I should "step it up," and it seems like the next step would be a…
cwd
  • 53,018
  • 53
  • 161
  • 198
50
votes
2 answers

Difference between --cacert and --capath in curl?

When would one use the --cacert option vs. the --capath option within curl (CLI that is). --cacert appears to reference a monolithic file that contains multiple PEMs. Assume it scans through to find the matching hostname? --capath appears to…
Jé Queue
  • 10,359
  • 13
  • 53
  • 61
50
votes
5 answers

OpenSSL encoding errors while converting cer to pem

I`m trying to convert the .cer file to .pem through openssl, the command is: openssl x509 -inform der -in certnew.cer -out ymcert.pem and that's the errors I`m getting: unable to load certificate 140735105180124:error:0D0680A8:asn1 encoding…
Arthur Kushman
  • 3,449
  • 10
  • 49
  • 64
49
votes
8 answers

Importing SSL Certificate into Eclipse

How do you import an SSL certificate created by java into a project in Eclipse?
MahlerFive
  • 5,159
  • 5
  • 30
  • 40
49
votes
5 answers

Generate a self-signed certificate on the fly

I searched around, but I didn't find a clear example. I want to create a self-signed (self-)trusted certificate programmatically (C#), following these steps: STEP 1: Create a root CA certificate on the fly and add it to the certificate store in the…
wakeupneo
  • 923
  • 1
  • 10
  • 20
49
votes
4 answers

Tomcat Server/Client Self-Signed SSL Certificate

I have an Apache Tomcat 6.x server running with a self-signed SSL certificate. I want the client to present their own certificate to the server so I can authenticate them based on a database of users. I have it all working based on an example I…
davidemm
  • 2,001
  • 1
  • 23
  • 31
48
votes
8 answers

NGinx SSL certificate authentication signed by intermediate CA (chain)

I am trying to enable client certificate authentication in nginx where the certificates have been signed by an intermediate CA. I am able to get this working fine when using a certificate signed by a self-signed root CA; however, this does not work…
Hans L
  • 5,845
  • 4
  • 22
  • 21
48
votes
8 answers

Chrome NET::ERR_CERT_AUTHORITY_INVALID error on self signing certificate at LocalHost

I am trying to setup a development environment on my local PC. As the production website supports HTTPS (who does not these days?), I want to have this also on the localhost. I thought it would be easy, but no. I have a XAMP installation, and setup…
E.S.
  • 511
  • 1
  • 4
  • 6
48
votes
1 answer

What is the difference between two Credential use options "VPN and apps" vs "Wifi" when installing a custom certificate on an Android emulator?

I'm trying to install a Charles Certificate on an Android emulator and I noticed that there are two Credential use options: "VPN and apps" and "Wi-Fi". I've tried looking around for explanations regarding to the two options, but the one I've found…
Some Noob Student
  • 14,186
  • 13
  • 65
  • 103
48
votes
7 answers

nginx fails to load ssl certificate

I have to add ssl (https) for a website, I was given a SSL.CSR and a SSL.KEY file. I 'dos2unix'ed them (because they have trailing ^M) and copied them to the server(CSR -> mywebsite.crt, KEY -> mywebsite.key). I did the following modification to…
Romstar
  • 1,139
  • 3
  • 14
  • 21
47
votes
12 answers

PKIX path building failed: unable to find valid certification path to requested target

I am calling some HTTPS web service which the following Client: import java.io.ByteArrayOutputStream; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import…
Muhammad Hewedy
  • 29,102
  • 44
  • 127
  • 219
45
votes
2 answers

Proxying with SSL

I have a Linux host running Apache and a Windows host running IIS. I have a domain that points to the Linux host and need to relay (proxy) requests for it to IIS; I thus have the following virtual host definition in Apache (which works just…
ekkis
  • 9,804
  • 13
  • 55
  • 105
45
votes
8 answers

svn Error validating server certificate

If I use any svn command communicating with the remote server I get the following error: Error validating server certificate for 'https://...': - The certificate is not issued by a trusted authority. Use the fingerprint to validate the…
Alex
  • 8,518
  • 4
  • 28
  • 40