草庐IT

bad_certificate

全部标签

android - javax.net.ssl.SSLPeerUnverifiedException : No peer certificate while trying to connect using https with . bks keystore

这个问题在这里已经有了答案:关闭9年前。PossibleDuplicate:javax.net.ssl.SSLException:Nottrustedservercertificate我正在尝试使用带有.bkskeystore的“https”方案连接到服务器,但由于这个问题我无法连接。谁能告诉我这是什么原因以及如何解决这个问题。这是我的代码publicStringhttpRestGetCallwithCertificate(Stringurl,StringpayLoad){Stringresult=null;DefaultHttpClienthttpClient=null;KeySto

android - 间歇性对等未验证异常 : No peer certificate with Android client

我正在尝试使用HTTPS实现Android↔Apache通信,但出现以下错误。我间歇性地遇到这个问题,大约有30%的时间。javax.net.ssl.sslPeerUnverifiedException:Nopeercertificate我在网上搜索过,但任何答案都对我有帮助...这是我的安卓代码:http_post=newHttpPost(Utils.IP_ADDRESS);http_post_data=newArrayList();http_post_data.add(newBasicNameValuePair("regId",regid));http_post_data.add(

java - Google Docs 的 Google API,请求文档列表 -- 400 Bad Request

从谷歌服务器对谷歌文档进行身份验证后,我执行了一个简单的getResponse,但我收到了400错误请求。我不明白我哪里错了。示例代码如下privatevoidexecuteRefreshAlbums(){HttpRequestrequest=transport.buildGetRequest();request.url=GoogleDocsUrl.forDefaultPrivateFull();System.out.println("URL="+request.url);try{HttpResponseresponse=request.execute();System.out.pri

android - 在 Android 平板电脑上共享 2 个 GLSurfaceViews 之间的 EGL2.0 上下文导致 EGL_BAD_ACCESS

我尝试通过以下代码在2个GLSurfaceView之间共享EGL上下文:createContext(EGL10egl,EGLDisplaydisplay,EGLConfigeglConfig){EGLContextshared=...;//acachedeglcontextint[]attrib_list={EGL_CONTEXT_CLIENT_VERSION,2,EGL10.EGL_NONE};EGLContextcontext=egl.eglCreateContext(display,eglConfig,shared==null?EGL10.EGL_NO_CONTEXT:share

Android - apk 签名 : entries' certificate chain is not validated & signatures w/o a timestamp

按照SigningyourAPPwiththeADTpluginforEclipse中的程序进行操作后,我手动验证了签名的apk(describedbelowinthesamepage):$jarsigner-verify-verbose-certsmy_application.apk每个条目都正确签名[s和sm],但最后出现了:Warning:Thisjarcontainsentrieswhosecertificatechainisnotvalidated.Thisjarcontainssignaturesthatdoesnotincludeatimestamp.Withoutati

android - eglSwapBuffers 失败 : EGL_BAD_ALLOC AndEngine Android

我正在使用抛出异常的And引擎开发游戏。其实我不知道发生异常的地方。市场上多次报道。java.lang.RuntimeException:eglSwapBuffersfailed:EGL_BAD_ALLOCatandroid.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1080)atandroid.opengl.GLSurfaceView$EglHelper.swap(GLSurfaceView.java:1038)atandroid.opengl.GLSurfaceView$GLThread.

Android SSL 错误 : certificate not trusted. ..有时

在我正在开发的应用程序中,我必须与Web服务器建立HTTPS连接。我收到了证书不受信任的错误,在咨询了stackoverflow之后,我发现了这篇博文:http://blog.antoine.li/index.php/2010/10/android-trusting-ssl-certificates/这台服务器的CA似乎不包含在Android的默认商店中。简而言之,我下载了所有证书,使用BKS提供程序创建了一个keystore,导入了key,将keystore导入到我的项目中,将DefaultHttpClient类子类化以强制它使用我的keystore。按照博客中的步骤操作后,在模拟器

Cause: error=86, Bad CPU type in executable

MacAndroidStudio运行项目报错Cause:error=86,BadCPUtypeinexecutable原因 ADB不支持ARM。应该是苹果系统更新了某些东西导致不支持解决方案终端输入softwareupdate--install-rosetta出现Ihavereadandagreetothetermsofthesoftwarelicenseagreement.AlistofAppleSLAsmaybefoundhere:http://www.apple.com/legal/sla/翻译:我已经阅读并同意软件许可协议的条款。AppleSLA列表可在此处找到:http://www.

【GitHub】SSL certificate problem: unable to get local issuer certificate 的一种解决方案

目录前言正文总结前言本文介绍使用Git将本地项目上传到GitHub遇到的SSL证书问题及解决过程,版本控制是软件开发中的重要环节,在分布式版本控制系统Git和基于Git的代码托管平台GitHub的帮助下,我们可以更好地追踪和管理项目的变更。然而,有时在将项目上传到GitHub时可能会遇到SSL证书问题,本文将探讨这些问题的原因,并提供相应的解决方法。正文1.在我们要上传的文件夹中右键打开 2.逐个输入以下命令gitinitgitadd.gitstatusgitcommit-m"本次提交信息说明"gitremoteaddorigin仓库url地址3.gitpush-uoriginmasterfr

yolov8运行出错及解决,No module named ‘ultralytics‘和ImportError: Failed to initialize: Bad git executable

成功解决Nomodulenamed'ultralytics’和Failedtoinitialize:Badgitexecutable的问题,以此记录和分享。问题:ModuleNotFoundError:Nomodulenamed'ultralytics'解决:在文件开头开间绝对路径,即ultralytics文件夹所在的文件夹路径。问题:ImportError:Failedtoinitialize:Badgitexecutable.Thegitexecutablemustbespecifiedinoneofthefollowingways:-beincludedinyour$PATH-beset