Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Peer Certificate?

I have this problem with HTTPS requests on android - No peer certificate. I've mentioned that Google are flood with people's question about this problem. Sad enough that NONE of that question has answer which works for me.

But at least I want to know a cause of that error. I couldn't even find what is it - peer certificate. And when that error could appear? I have error even on normal secured sites which has valid certificate. Why is it invalid when doing request from android?

P.S. I don't want to see answers like "you should trust all certificates". No, I shouldn't. I want my application act like normal browser which works silently when certificate is valid otherwise notify user about certificate problem.

like image 235
Vitalii Korsakov Avatar asked Jan 21 '14 21:01

Vitalii Korsakov


People also ask

What are the 3 types of certificates?

There are three recognized categories of SSL certificate authentication types: Extended Validation (EV) Organization Validation (OV) Domain Validation (DV)

What does no peer certificate mean?

What does this error mean? This error appears when your Collect Android app tries to communicate with your server but can't establish a secure (SSL/HTTPS) connection.

What are the two types of certificates?

SSL certificates by validation level There are three main types of certificates: domain validated (DV), organization validated (OV), and extended validation (EV). An authentic authority must obtain the certificate so that users won't see this message.

How do I fix peer certificate Cannot be authenticated with given CA certificates?

It can be caused by the fact that the certificate is self-signed. To avoid the error, disable the verification from the GitHub side by clicking the Disable SSL verification button for the corresponding webhook.


1 Answers

The peer certificate is the certificate of the peer. In this case, the certificate of the server. If it isn't valid, it wasn't accepted during the handshake, so you can't get it in the client.

like image 97
user207421 Avatar answered Oct 02 '22 17:10

user207421