https 相关问题

安全超文本传输​​协议(HTTPS)是超文本传输​​协议与SSL / TLS协议的组合,用于提供加密通信和网络Web服务器的安全识别。

有人知道为什么我使用下面的代码从 Spotify 播放列表中删除曲目时收到 403 错误吗?

注意:client_id、client_secret、username 和 playlist_id 声明已从下面的代码中删除。 # 从播放列表中删除的歌曲数 num_songs_to_delete = 5 # 将其更改为...

回答 1 投票 0

如何解决 Rust Reqwest 错误:证书无效

快速提问,reqwest 是否允许自签名证书?我创建了一个启用 tls 的 rust-warp 网络服务器。我创建了一个 reqwest 客户端来向该服务器发出请求以进行测试......

回答 1 投票 0

,来源:hyper::Error(Connect, "无效的 URL,方案不是 http") } 和 OPEN SSL rust reqwest

我使用reqwest和cargo lambda builda我在cargo toml中遇到问题 reqwest = {版本 = "0.11.24", default-features = false, features = ["blocking", "json"] } 我的

回答 1 投票 0

Mule - 尝试通过 HTTPS 发送消息时“无法找到请求目标的有效证书路径”

我有一个 Mule 流程(Mule CE 3.4.0、Studio 3.5.0),它正在处理一些 XML 并使用 HTTPS 端点将其发布到 Web 服务,如下所示: 我有一个 Mule 流程(Mule CE 3.4.0、Studio 3.5.0),它正在处理一些 XML 并使用 HTTPS 端点将其发布到 Web 服务,如下所示: <flow> <!-- Process XML --> <https:outbound-endpoint address="https://admin:password@localhost:8081/hello" exchange-pattern="request-response" contentType="text/xml" method="POST" doc:name="HTTP"/> <!-- Evaluate response --> </flow> 在生产中,这将访问由不同平台公开的 Web 服务,但为了在本地进行测试,我创建了一个完全独立的 Mule 应用程序(单独的工作区、项目文件等),它公开了一个 HTTPS 端点来使用消息: <spring:beans> <security:authentication-manager alias="MyManager"> <security:authentication-provider> <security:user-service id="UserService"> <security:user name="admin" password="password" authorities="ROLE_ADMIN"/> </security:user-service> </security:authentication-provider> </security:authentication-manager> </spring:beans> <spring-security:security-manager> <spring-security:delegate-security-provider name="InMemory" delegate-ref="MyManager"/> </spring-security:security-manager> <https:connector name="httpsConnector"> <https:tls-key-store path="test.jks" keyPassword="test1234" storePassword="test1234"/> </https:connector> <flow name="httpTestFlow" doc:name="httpTestFlow"> <https:inbound-endpoint exchange-pattern="one-way" host="localhost" port="8081" doc:name="HTTP" connector-ref="httpsConnector"> <spring-security:http-security-filter realm="mule-realm" securityProviders="InMemory"/> </https:inbound-endpoint> <object-to-string-transformer doc:name="Object to String"/> <logger level="INFO" message="The XML message received is: #[payload]" doc:name="Logger"/> </flow> 当我尝试运行此程序时,我的 Mule 应用程序(发送 XML 的应用程序)中出现以下错误: ******************************************************************************** Message : Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=https://admin:<password>@localhost/hello, connector=HttpsConnector { name=connector.https.mule.default lifecycle=start this=7cc4f42c numberOfConcurrentTransactedReceivers=4 createMultipleTransactedReceivers=true connected=true supportedProtocols=[https] serviceOverrides=<none> } , name='endpoint.https.localhost.8081.hello', mep=REQUEST_RESPONSE, properties={http.method=POST, Content-Type=text/xml}, transactionConfig=Transaction{factory=null, action=INDIFFERENT, timeout=0}, deleteUnacceptedMessages=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8, disableTransportTransformer=false}. Message payload is of type: PostMethod Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. unable to find valid certification path to requested target (sun.security.provider.certpath.SunCertPathBuilderException) sun.security.provider.certpath.SunCertPathBuilder:196 (null) 2. PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (sun.security.validator.ValidatorException) sun.security.validator.PKIXValidator:385 (null) 3. sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (javax.net.ssl.SSLHandshakeException) sun.security.ssl.Alerts:192 (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/net/ssl/SSLHandshakeException.html) 4. Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=https://admin:<password>@localhost/hello, connector=HttpsConnector { name=connector.https.mule.default lifecycle=start this=7cc4f42c numberOfConcurrentTransactedReceivers=4 createMultipleTransactedReceivers=true connected=true supportedProtocols=[https] serviceOverrides=<none> } , name='endpoint.https.localhost.8081.hello', mep=REQUEST_RESPONSE, properties={http.method=POST, Content-Type=text/xml}, transactionConfig=Transaction{factory=null, action=INDIFFERENT, timeout=0}, deleteUnacceptedMessages=false, initialState=started, responseTimeout=10000, endpointEncoding=UTF-8, disableTransportTransformer=false}. Message payload is of type: PostMethod (org.mule.api.transport.DispatchException) org.mule.transport.http.HttpClientMessageDispatcher:155 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/transport/DispatchException.html) -------------------------------------------------------------------------------- Root Exception stack trace: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** 我的其他应用程序收到消息时出现此错误: ERROR 2014-06-05 15:58:05,380 [[test-webservice].http.request.dispatch.8081.01] org.mule.exception.DefaultSystemExceptionStrategy: Caught exception in Exception Strategy: Received fatal alert: certificate_unknown javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174) at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1822) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1004) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:818) at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75) at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:50) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) at org.mule.transport.http.HttpServerConnection.readLine(HttpServerConnection.java:243) at org.mule.transport.http.HttpServerConnection.getRequestLine(HttpServerConnection.java:509) at org.mule.transport.http.HttpRequestDispatcherWork.run(HttpRequestDispatcherWork.java:70) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:695) 任何人都可以确定这里可能出了什么问题,或者建议一种在本地测试我的出站端点的替代方法吗?预先感谢。 您确定您的单独应用程序实际上正在运行吗?看起来好像不是:也许它只是无法启动? 任何人都可以解决这个问题吗?请 消息:资源“https://transaction-sapi1.us-e2.cloudhub.io:443/api/members/transactions”上的 HTTP POST 失败:PKIX 路径构建失败:sun.security.provider.certpath.SunCertPathBuilderException:无法找到请求目标的有效认证路径。 元素:(无) 元素 DSL :(无) 错误类型:HTTP:CONNECTIVITY FlowStack:(无) (为所有内容设置调试级别日志记录或“-Dmule.verbose.exceptions=true”)

回答 2 投票 0

网站中重复严格传输安全

我们的合规团队要求我将“includeSubDomains”添加到我们网站的 Strict-Transport-Security 标头中。因此,我将下面的条目(顶部的条目)添加到我们的 .NET 站点的 Web 配置中。但是...

回答 2 投票 0

无法激活 Django 和 Nginx 的 HTTPS 链接

我有一个 Django Rest 框架应用程序在安全的 Nginx 服务器上运行。 当我在 DRF API 上导航时,导航栏中的协议会很好地重定向到 https。 我的问题是所有的基因...

回答 1 投票 0

配置 OHS Weblogic 12c / Apache 以仅支持 TLSv2

感谢您的帮助,我想知道是否有人遇到过这个问题,我没有成功为 OHS 配置我的 SSL 配置,似乎 TLSV1.2 不起作用。 我的 OHS 是 emb...

回答 1 投票 0

使用 TYPESENSE_SSL_CERTIFICATE_KEY 时,Typesense Search Docker 容器会关闭

我正在尝试使用 https 运行一个 typesense docker 容器进行生产。当我运行 docker compose 文件时,容器将关闭。 这是 docker 撰写文件: 版本:“1” 服务...

回答 1 投票 0

某些 Android 应用程序无法通过 fiddler 连接

我已按照有关如何在 Android 模拟器上添加 fiddler 证书的说明进行操作,使用 nox 和 memu 模拟器,以及运行 Marshmallow 的 Android 手机,我将 WiFi 代理设置为指向...

回答 1 投票 0

忘记 Chrome 对 URL 使用哪个客户端证书

我正在使用客户端证书通过 HTTPS 对网站进行身份验证。 第一次,chrome 询问我想使用哪个证书。 然而,我不知道如何冲洗/忘记这个选择来选择

回答 5 投票 0

IIS 上的 Cloudflare SSL 证书:“Windows 没有足够的信息来验证此证书”

所以我试图让我的 IIS8 网络服务器 https,但我似乎无法让它工作。 我几乎尝试了一切...但似乎没有任何效果。 不要担心下面的文件是假的! 图1 按键

回答 2 投票 0

我在 Goland 的 https 请求配置有什么错误

我有一个通过 Rest 查询服务的 Go 命令。 到目前为止,我使用 http 并且没有任何问题,但是一旦我转移到 https,我就会收到一个奇怪的错误,我不知道如何处理。 这是我的功能...

回答 1 投票 0

尽管设置了 ServerCertificateValidationCallback,仍无法创建 SSL/TLS 安全通道

我正在尝试使用自签名证书建立 SSL/TLS 连接来测试服务器。通过不安全通道的通信没有出现任何问题。 这是我编写的示例代码...

回答 10 投票 0

如何为 Clover API / Flask / SSL 设置 Web 应用程序

我正在尝试为我的企业创建一个基本的库存管理应用程序。它只需要在我的机器上运行,因此我在本地主机上运行 Flask 应用程序。我一直在尝试获取作者的基本代码...

回答 1 投票 0

在 Docker 中启用 Apache SSL 进行本地开发

我正在对我们当前的旧应用程序进行docker化。我们使用多种服务,但我遇到的问题是 php、apache,特别是 apache 的 https。我正在使用“php:5.6.30-apache”图像,所以我有......

回答 3 投票 0

加密 JWT 的有效负载如何提高安全性

在这个网站上,它说: 请注意,对于签名令牌,此信息尽管受到保护 防止篡改,任何人都可读。不要把秘密 有效负载或标头元素中的信息...

回答 2 投票 0

如何为 Elastic Beanstalk url 启用 HTTPS

我已为自定义域名 (haydenclay.page) 启用 HTTPS,但我还需要 Beanstalk url (app-name.elasticbeanstalk.com) 才能通过 HTTPS 运行。 HTTPS 目前无法使用,因为...

回答 3 投票 0

HTTPS协议前端(客户端浏览器)是否需要密码加密?

如标题所示, 环境:密码已经是数据库中的哈希值,并且使用HTTPS协议连接 我的问题很简单,通过 HTTPS,我看到一些网站使用 SSL,但也在做

回答 2 投票 0

使用jsoup连接不受信任的证书

我的 Java 应用程序遇到问题。我使用 JSOUP 连接到一个网站,以前是 http,现在已移至 https。现在,当我运行该应用程序时,我收到以下错误,is anyon...

回答 2 投票 0

我可以使用 CSP 来限制对 https: 和“self”的请求吗?

我最初在我的 CSP 标头中包含此内容:default-src 'self';,它将源限制为仅限我的域,但它没有提及方案/协议。据我所知,这将使来源...

回答 1 投票 0

© www.soinside.com 2019 - 2024. All rights reserved.