Get the certificate and add it to the Java trust store, only HTTPS URL?

I'm trying to send push notifications to Android devices through Google cloud messaging server

The URL we use is:

https://android.googleapis.com/gcm/send

In our enterprise application, we do not use the default CA permission, and for security reasons, we manually add each entity we trust in the truststore file loaded by the sslcontext attribute I want to add GCM certificate to our truststore

I don't know how to get a certificate from this URL The chrome / Firefox export method seems to be invalid because the page is redirected to another non SSL page

Does anyone have a solution?

Solution

Use portecle You can open the target keystore, check the SSL / TLS connection using examine > and enter Android googleapis. COM and 443, you're done!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>