gpt4 book ai didi

ssl - ARM 上基于 libpurple 的连接尝试错误 "SSL peer presented an invalid certificate"

转载 作者:太空宇宙 更新时间:2023-11-03 13:29:02 25 4
gpt4 key购买 nike

我正在使用 libpurple (libpurple.com) 开发聊天应用程序。在 x86 处理器(台式机)上一切正常

但是,相同的代码在 ARM (iMx Freescale) 处理器上运行时显示错误:

SSL peer 出示了无效证书”,同时登录。

我使用的是 Ubuntu 操作系统。就像在 x86 机器中一样,所有包似乎都适用于 ARM 处理器。 (包括 gnutls 开发包)

任何线索将不胜感激......

最佳答案

我已将问题发布到 pidgin 邮件列表:

Hi all, I am using libpurple (package- 1:2.10.0-0ubuntu2) for developing a chat application. Everything works fine on x86 processor (Desktop - Ubuntu 11.10)

However, the same chat application (after cross-compilation) when run on the ARM (iMx Freescale based on Ubuntu 11.10) processor shows error:

"SSL peer presented an invalid certificate", while logging in.

--1-- All the packages seems to be present for the ARM target just like in the x86 machine. (including gnutls dev package, as mentioned in FAQ http://developer.pidgin.im/wiki/Installing%20Pidgin#IhaveOpenSSLwhyisntPidginusingit).

--2-- I have installed the ca-certificates package (updated it to the newest one in the Ubuntu repository for Ubuntu 11.10), using: 'apt-get install ca-certificates'.

--3-- Also tried copying the contents of "~/.purple/certificates/x509/tls_peers/", from the properly working x86 machine to the target system.

The SSL error still persists after these. Any help in resolving this issue would be highly appreciated. Thanks & Regards, Roy

和某个回复帖子阅读:

-----Original Message----- From: Mark -----er [mailto:ma--@-----nt.net] Sent: Monday, June 11, 2012 8:42 PM To: Roy Samuel (RB--/---4) Cc: support@pidgin.im Subject: Re: Error: SSL peer presented an invalid certificate | running on ARM-ubuntu-11.10

You could try to figure out why Pidgin thinks the certificate is invalid by running with "pidgin -d" to show lots of debug output (I'm a little surprised the error message you're seeing doesn't already say why it's invalid). The two most likely reasons I can think of are either the clock on your ARM computer is wrong, or Pidgin still can't find the CA certificates.

将目标 ARM 板上的日期更改为当前日期后,错误已解决!

关于ssl - ARM 上基于 libpurple 的连接尝试错误 "SSL peer presented an invalid certificate",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10943829/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com