certificate

Google Maps API Key in release build doesn't work

浪尽此生 提交于 2019-12-18 16:30:45
问题 I'm currently developing an application for Android and I'm using Google Maps API. In developer console, I added my SHA1 certificate print, followed by my package name. Even though I put this SHA1 certificate print using keytool, I can't access to the maps. I made lots of search, but every topics brought me to answers where error were in a wrong API Key in developer console. But I took the right SHA1, the one of my certificate. Thanks in advance ! 回答1: I had this same problem, it was super

Android Central Keystore

与世无争的帅哥 提交于 2019-12-18 15:44:20
问题 I'm hoping that there's a way to programmatically access a central trusted keystore on an Android device. I know one exists, at least for verifying SSL connections etc. which also comes with a handy tool for adding certificates, browsing, etc. (Found under settings->location & security->manage trusted certificates) I'd like to be able to programmatically retrieve public keys from it for the purpose of encrypting files etc. Given the documentation available, it seems like other app developers

Add/import certificate with password via command line Mac OS X

ぐ巨炮叔叔 提交于 2019-12-18 15:26:48
问题 I'm trying to import a .pfx certificate via command line. This certificate is secured by a password. Is there a way to do this in terminal? I'm running OS X 10.8. When I use this command I get the default pop-up asking for the password: security import certificate.pfx -k ~/Library/Keychains/login.keychain When I use this command: security import certificate.pfx -k ~/Library/Keychains/login.keychain -P password I get this error: SecKeychainItemImport: MAC verification failed during PKCS12

SSL Failures - Receiving SSL/TLS exception when using HttpWebRequest with client certificate

谁都会走 提交于 2019-12-18 14:49:27
问题 I have a Windows 2008 Server with IIS 7 which using a .NET C# Application to send requests to PayPal to process payments. A few months ago I installed a Certificate which was purchased by Verisign. After installation, I was able to run my WebClient code to create SSL Connections successfully, and process payments via the PayPal NVP API (Name Value Pair). Recently, I have been receiving an error during SSL Transaction. The specific error is as follows: Could not create SSL/TLS secure channel I

Why does WCF complain over identity check failure?

≡放荡痞女 提交于 2019-12-18 14:09:15
问题 I'm creating a WCF application where I'll be using certificates to encrypt the communication between the client and server. In my development environment, I want to use a test certificate / self signed certificate which I've created using makecert. (Only the server will have a certificate, the client won't). I've installed the certificate into a certificate store, and everything is working fine. On the client, certificateValidationMode is currently set to "false", since I'm working with a

iPhone: install certificate for SSL connection

孤者浪人 提交于 2019-12-18 13:31:49
问题 I would like my app to install an SSL certificate on the device, giving it access to my https site. Any advice would be greatly appreciated. Thanks!! 回答1: I've found the best way is to do the following: 1) Use your desktop browser to save the certificate locally. 2) Write an email to yourself and include the cert as an attachment 3) Read the email on your iOS device 4) Open the cert using the iOS mail app. This will install it on your device. 回答2: First, take into account you will not be able

ASP.net permissions to root certificate store

六眼飞鱼酱① 提交于 2019-12-18 13:17:08
问题 Is it possible to give asp.net read permission to the certificate store? If yes , how? If no... do I need to set the permission manually per certificate file? If yes where are these files physically on the HDD? 回答1: Generally you give permissions to A certificate. I use a method like this to find the custom made cert and grant permissions. If you are using a cert issued by a public entity like Verisign, Thawte, etc, this is probably unnecessary. FindPrivateKey.exe My LocalMachine –n "CN=

Renewing Production Push SSL Certificate - Apple APNS

牧云@^-^@ 提交于 2019-12-18 12:58:21
问题 Our production push ssl certificate is going to expire soon. If I generate a new certificate, will the other certificate remain valid until it is set to expire (at which point it must be replaced with the new certificate)? Will both certificates work at the same time? Just concerned about the timing. For our app, we host a push server and so do a few of our customers. I want to make sure creating a new certificate and updating our push server with the new certificate doesn't mess up our

How to Connect localhost (with invalid certificate) using Alamofire?

大兔子大兔子 提交于 2019-12-18 12:24:25
问题 This my first project using swift. I am usin alamofire to connect the API. I have a local copy form the API I want to use for debugging - so I can set test data - because the remote API has already real data that I can't mess with. The problem is I am getting the below error when I try to access https://localhost:8443/MyProject Optional(Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “localhost”

Using multiple SSL client certificates in Java with the same host

孤街醉人 提交于 2019-12-18 12:05:26
问题 In my Java application, I need to connect to the same host using SSL, but using a different certificate each time. The reason I need to use different certificates is that the remote site uses a user ID property embedded in the certificate to identify the client. This is a server application that runs on 3 different operating systems, and I need to be able to switch certificates without restarting the process. Another user suggested importing multiple certificates into the same keystore. I'm