如何删除密钥库安全提示 [英] how to remove KeyStore security prompt

查看:208
本文介绍了如何删除密钥库安全提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图开发一种试图调用HTTPS(GoDaddy购买SSL)URL的应用程序。
我已经使用这个code成功安装密钥存储的证书。

i am trying to develop an app which tries to call a https(godaddy ssl) url. i have successfully installed certificate in key store using this code.

 public void addCertToDeviceKeyStore(Certificate certificate) {
        KeyStore keyStore = DeviceKeyStore.getInstance();
        // check if certificate is not already in the DeviceKeyStore
        if (!keyStore.isMember(certificate)) {
            try {

                String SFN = certificate.getSubjectFriendlyName();
                CertificateStatus CS = certificate.getStatus();
                keyStore.set(null, SFN, certificate, CS, keyStore.getTicket());

            } catch (Exception e) {
            }
        }
    }

添加证书后还
为什么我收到安全提示密钥库密码和信任关系?

after adding certificate also why i am getting security prompt for keystore password and for trusting the connection?

有什么办法来避免这些安全提示?

is there any way to avoid these security prompts?

推荐答案

您可以通过设备找到根证书避免这种情况。有与GoDaddy证书有问题,其中黑莓找不到根。

You can avoid this by making your device find the root certificate. There is a problem with godaddy certificate where the BlackBerry can't find the root.

您需要编辑.htaccess文件指向根证书。

You need to edit the .htaccess file to point to the root certificate.

http://help.godaddy.com/topic/742/article/5238

下面是溶液的例子,与同样的问题,但在其他平台上。

Here is an example of solution, with the same kind of problem but on another platform.

<一个href=\"http://blog.boxedice.com/2009/05/11/godaddy-ssl-certificates-and-cannot-verify-identity-on-macsafari/\" rel=\"nofollow\">http://blog.boxedice.com/2009/05/11/godaddy-ssl-certificates-and-cannot-verify-identity-on-macsafari/

这篇关于如何删除密钥库安全提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆