yfijwan135 2015-12-06 22:36 采纳率: 100%
浏览 1830
已采纳

https请求在RK3188上通不过,报异常,魅族mx4pro上已通过,并返回正常数据

完整异常如下:
java.security.cert.CertificateException: org.apache.harmony.security.asn1.ASN1Exception: ASN.1 UTCTime: wrong format for DER, identifier at [114]
at org.apache.harmony.security.provider.cert.X509CertFactoryImpl.engineGenerateCertificate(X509CertFactoryImpl.java:112)
at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:195)
at com.iiordanov.util.TrustCertainHostNameFactory.getDefault(TrustCertainHostNameFactory.java:74)
at com.iiordanov.bVNC.AutoLoginActivity.initSSLCertainWithHttpClient(AutoLoginActivity.java:657)
at com.iiordanov.bVNC.AutoLoginActivity$1.run(AutoLoginActivity.java:238)
at java.lang.Thread.run(Thread.java:856)
Caused by: org.apache.harmony.security.asn1.ASN1Exception: ASN.1 UTCTime: wrong format for DER, identifier at [114]
at org.apache.harmony.security.asn1.DerInputStream.readUTCTime(DerInputStream.java:135)
at org.apache.harmony.security.asn1.ASN1UTCTime.decode(ASN1UTCTime.java:77)
at org.apache.harmony.security.asn1.ASN1Choice.decode(ASN1Choice.java:308)
at org.apache.harmony.security.asn1.BerInputStream.readSequence(BerInputStream.java:554)
at org.apache.harmony.security.asn1.DerInputStream.readSequence(DerInputStream.java:105)
at org.apache.harmony.security.asn1.ASN1Sequence.decode(ASN1Sequence.java:40)
at org.apache.harmony.security.asn1.BerInputStream.readSequence(BerInputStream.java:554)
at org.apache.harmony.security.asn1.DerInputStream.readSequence(DerInputStream.java:105)
at org.apache.harmony.security.asn1.ASN1Sequence.decode(ASN1Sequence.java:40)
at org.apache.harmony.security.asn1.BerInputStream.readSequence(BerInputStream.java:554)
at org.apache.harmony.security.asn1.DerInputStream.readSequence(DerInputStream.java:105)
at org.apache.harmony.security.asn1.ASN1Sequence.decode(ASN1Sequence.java:40)
at org.apache.harmony.security.asn1.ASN1Type.decode(ASN1Type.java:82)
at org.apache.harmony.security.provider.cert.X509CertImpl.(X509CertImpl.java:128)
at org.apache.harmony.security.provider.cert.X509CertFactoryImpl.getCertificate(X509CertFactoryImpl.java:614)
at org.apache.harmony.security.provider.cert.X509CertFactoryImpl.engineGenerateCertificate(X509CertFactoryImpl.java:105)
... 5 more

已经导入服务器给的crt证书,魅族mx4pro上正常通过,Rk3188的开发板报以上异常,Rk3188是4.2.2系统,请大神赐教。

展开全部

  • 写回答

5条回答 默认 最新

  • yfijwan135 2016-03-02 00:36
    关注

    没有人回答,只能自己研究了。问题已解决,结贴。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(4条)
编辑
预览

报告相同问题?

悬赏问题

  • ¥15 fluent设置了自动保存后,会有几个时间点不保存
  • ¥20 激光照射到四象线探测器,通过液晶屏显示X、Y值
  • ¥15 这怎么做,怎么在我的思路下改下我这写的不对
  • ¥50 数据库开发问题求解答
  • ¥15 安装anaconda时报错
  • ¥20 如何用Python处理单元格内连续出现的重复词语?
  • ¥15 小程序有个导出到插件方式,我是在分包下引入的插件,这个export的路径对吗,我看官方文档上写的是相对路径
  • ¥20 希望有人能帮我完成这个设计( *ˊᵕˋ)
  • ¥100 将Intptr传入SetHdevmode()将Intptr传入后转换为DEVMODE的值与外部代码不一致
  • ¥50 基于ERA5数据计算VPD