草庐IT

certification

全部标签

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

javax.security.cert.X509Certificate 与 java.security.cert.X509Certificate?

你发现标题的不同了吗?(对我来说,花了一些时间)所以我按顺序使用了连接到java.security.cert.X509Certificate的充气城堡创建证书。现在我正在寻找一种从原始字节创建java.security.cert.X509Certificate的方法。我没有任何方法可以做到这一点java.security.cert.X509Certificate但有一个(getInstance静态方法)javax.security.cert.X509Certificate。问题是我无法将javax.security.cert.X509Certificate转换为java.securit

java - 将 PEM 格式的字符串转换为 java.security.cert.X509Certificate

如何从PEM格式的字符串创建java.security.cert.X509Certificate实例?PEM格式的字符串是HTTP请求“SSL_CLIENT_CERT”header值。回答:根据mgaert的回答,这是我在Scala中写的内容:valcert=factory.generateCertificate(newByteArrayInputStream(Base64.decodeBase64(cert.stripPrefix("-----BEGINCERTIFICATE-----").stripSuffix("-----ENDCERTIFICATE-----"))).asIns

java.security.cert.CertificateException : Certificates does not conform to algorithm constraints

我有一个map应用程序,可以在给定URL的情况下添加ArcGIS9.3+基本map。我要添加的URL之一来自客户的URL,并且是安全的。我的map应用程序之前使用的是Java6,并且能够毫无问题地添加安全URL。我现在升级到Java7并获得了"java.security.cert.CertificateException:Certificatesdoesnotconformtoalgorithmconstraints"异常。起初,我认为是这种情况,因为在Java7中,默认情况下,用于签署SSL证书的MD2算法是禁用的。您可以在java.security文件中看到这一点:"jdk.cer