带有x-x509-user-cert的data-url不起作用

时间:2015-06-18 14:42:22

标签: google-chrome data-uri

我在Web应用程序中发布证书。 密钥对是使用keygen标记在浏览器中生成的。

然后使用如下数据库将证书直接放入生成的网页中:

<a href="data:application/x-x509-user-cert;base64,MIIEBDCCAuygAwIBAgIEEAAAtjANBgkqhkiG9w0BAQUFADBEMQswCQYDVQQGEwJERTEPMA0GA1UECAwGSGVzc2VuMRQwEgYDVQQKDAtwcml2YWN5aWRlYTEOMAwGA1UEAwwFQ0EwMDEwHhcNMTUwNjE4MTQyNDQwWhcNMTYwNjE3MTQyNDQwWjAyMRowGAYDVQQDExFhZG1pbixDTj1hZG1pbixPPTEUMBIGCSqGSIb3DQEJARYFbWVpbmUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCzY6/Ds7yvXYUSribyT5GMWnZrdBlzFo+hW0EUUooIOAL05Ax6i+/DhC2xcc/MP2qLWRlkQxUnJWbXv17aOy+gNDn6KGAvg0QS1S0lV3kgdTGeiIyFzxVj8ghBWNuwIEkj7rVTRX/I+/dAR4mTIARXGDrGLFkf61n91YQNOgqGoPo+RbTs0eeyNghrjkxzNo+tzhLH4QA94v02eUsKv4CPg32OqEOkkEILekKDw1/EIK9xuTBzzG8SV0V5IqkNPB8NMqDVAg+NXSAPUXnkv9nqCTFj1WcR3ORogaPmHEFy137wev5lhlptN8F6kNoQN2iv6B9WgXcRs3uCoF+viyRZAgMBAAGjggEOMIIBCjALBgNVHQ8EBAMCBaAwCQYDVR0TBAIwADARBglghkgBhvhCAQEEBAMCBkAwMwYJYIZIAYb4QgENBCYWJE9wZW5TU0wgR2VuZXJhdGVkIFNlcnZlciBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUvg3jHfcGEPvlsC6T5nssZ9CZqIIwdAYDVR0jBG0wa4AU9KfAzJFGr2TzkfIn+Miyb4qHMnOhSKRGMEQxCzAJBgNVBAYTAkRFMQ8wDQYDVQQIDAZIZXNzZW4xFDASBgNVBAoMC3ByaXZhY3lpZGVhMQ4wDAYDVQQDDAVDQTAwMYIJAPvI66yDzRIHMBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqGSIb3DQEBBQUAA4IBAQBUfnD0t9Pw5bEUUjzBc9mUFWbk6H7iR4mZOXy1bhXHKvvkVqase6m2JWOVyeCnKfcQAjaNxj4m5zeNfDGFpKoarH3EM9/UQher9Hr1osMe295lmzHydyvlXf5euXcueuENnZcoretq2XnXDyzxC33JH3iQGnbILraazhILEetkuk9Q8TulsocLUQVow/jvaGBCdd/o57HiaNNsgnvhqPGkBIiw3YBiEKfCf23uGO9C9Li7u8Zu0Tdp5CXmKXxZxZW+A4jPFfdIBkc3eRsddM7pHaqTwXo9EF2UOoK1T8bcFMY5k7btNcqpgBt1cfG3ybVBuTjn72nmrHsNo9gtOEB6">Install
    Certificate to Browser</a>

这在firefox中运行得非常好。 但它在chrome中不起作用。 单击chrome中的链接时,将显示证书。

显然存在一些模仿类型的混淆。

您是否知道如何为chrome显示证书以将其安装为个人证书?

非常感谢 科尼利厄斯

0 个答案:

没有答案