草庐IT

certificates

全部标签

android - 在 adb install 上安装 INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES

在Debug模式下构建相同的Android项目,有时使用Eclipse,有时使用ant(在构建机器上)。如果我先安装antbuild,然后尝试启动Eclipse调试,Eclipse控制台会显示[2012-03-2013:32:26-myproject]Re-installationfailedduetodifferentapplicationsignatures.[2012-03-2013:32:26-myproject]Youmustperformafulluninstalloftheapplication.WARNING:Thiswillremovetheapplicationda

android - 错误 :Cause: unable to find valid certification path to requested target

当我同步gradle时,我在androidStudio2.2.3中遇到以下错误。错误:原因:无法找到请求目标的有效认证路径我该如何解决这个问题我也在添加我的Gradle文件applyplugin:'com.android.application'android{compileSdkVersion25buildToolsVersion"25.0.2"defaultConfig{applicationId"com.sample.myapplication"minSdkVersion16targetSdkVersion22versionCode1versionName"1.0"testIns

android - CertPathValidatorException : Trust anchor for certificate path not found - Retrofit Android

我正在创建一个使用https与服务器通信的android应用程序。我正在使用retrofit和OkHttp发出请求。这些适用于标准http请求。以下是我遵循的步骤。第1步:使用命令从服务器获取证书文件echo-n|openssls_client-connectapi.****.tk:443|sed-ne'/-BEGINCERTIFICATE-/,/-ENDCERTIFICATE-/p'>gtux.cert第2步:使用以下命令将证书转换为BKS格式keytool-importcert-v-trustcacerts-file"gtux.cert"-aliasimeto_alias-keys

node.js - API 网关 - ALB : Hostname/IP doesn't match certificate's altnames

我目前的设置如下:APIGateway---ALB---ECSCluster---NodeJSApplications|--Lambda我还在API网关上设置了自定义域名(更新:我使用了默认的API网关链接并遇到了同样的问题,我认为这不是自定义域问题)当ECS集群中的1个服务通过API网关调用另一个服务时,我得到Hostname/IPdoesn'tmatchcertificate'saltnames:"Host:someid.ap-southeast-1.elb.amazonaws.com.isnotinthecert'saltnames:DNS:*.execute-api.ap-so

macos - 如何修复 curl : (60) SSL certificate: Invalid certificate chain

我得到以下错误运行curlhttps://npmjs.org/install.sh|sh在MacOSX10.9(Mavericks)上:installnpm@latestcurl:(60)SSLcertificateproblem:InvalidcertificatechainMoredetailshere:http://curl.haxx.se/docs/sslcerts.html我该如何解决这个问题? 最佳答案 首先,您应该警惕引发SSL错误的网址。话虽如此,您可以使用抑制curl中的证书错误curl-khttps://inse

node.js - 错误 : unable to verify the first certificate in nodejs

我正在尝试使用URL从jira服务器下载文件,但出现错误。如何在代码中包含证书进行验证?错误:Error:unabletoverifythefirstcertificateinnodejsatError(native)atTLSSocket.(_tls_wrap.js:929:36)atTLSSocket.emit(events.js:104:17)atTLSSocket._finishInit(_tls_wrap.js:460:8)我的Nodejs代码:varhttps=require("https");varfs=require('fs');varoptions={host:'ji

python - 证书验证失败 : unable to get local issuer certificate

我正在尝试使用python从网络获取数据。我为其导入了urllib.request包,但在执行时出现错误:certificateverifyfailed:unabletogetlocalissuercertificate(_ssl.c:1045)我在MacOSHighSierra上使用Python3.7。我正在尝试从以下位置获取CSV文件:https://s3.amazonaws.com/assets.datacamp.com/production/course_1606/datasets/winequality-red.csv当我将URL更改为“http”时-我能够获取数据。但是,我

python - SSL : CERTIFICATE_VERIFY_FAILED with Python3

如果这是一个愚蠢的问题,我深表歉意,但我一直在尝试自学如何使用BeautifulSoup,以便我可以创建一些项目。我正在关注此链接作为教程:https://www.youtube.com/watch?v=5GzVNi0oTxQ按照与他完全相同的代码后,这是我得到的错误:Traceback(mostrecentcalllast):File"/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py",line1240,indo_openh.request(req.get_method(

python - Mac OSX python ssl.SSLError : [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl. c:749)

python中的许多操作都需要通过https访问。这包括pipinstall,或仅使用http.client.HTTPSConnection,或在内部使用这些东西的任何模块或应用程序。如果python是从官方pythonpkg安装程序安装的,从https://python.org下载,然后它使用openssl的内部版本,并且不包含根证书。任何使用SSL连接都会导致此错误:ssl.SSLError:[SSL:CERTIFICATE_VERIFY_FAILED]certificateverifyfailed(_ssl.c:749)如何安装根证书以消除上述错误?

java - "unable to find valid certification path to requested target",但是浏览器说没问题

我正在开发一个Java应用程序,它连接到https://ut.eurodw.eu/上公开的SOAP服务。(欧洲数据仓库的测试环境)。我正在使用我的开发机器,最近使用Windows8.1重新格式化。今天,我尝试从我的程序中通过SOAP向他们发送创建请求并收到此错误:Causedby:javax.xml.ws.WebServiceException:CouldnotsendMessage.atorg.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146)atcom.sun.proxy.$Proxy110.cre