草庐IT

ssl-security

全部标签

ssl - 去 ListenAndServeTLS 握手

目前。我有下面一行(效果很好)http.ListenAndServeTLS(":"+Config.String("port"),Config.Key("https").String("cert"),Config.Key("https").String("key"),router)当我尝试将端口设置为443而不是8080时,问题就来了。我在浏览器上收到以下错误(Chrome)Thissitecan’tprovideasecureconnection.www.example.comsentaninvalidresponse.ERR_SSL_PROTOCOL_ERROR我不确定自己做错了什么

ssl - 如何验证我的 TLS 服务器是否正在加密流量?

关闭。这个问题不符合StackOverflowguidelines.它目前不接受答案。这个问题似乎不是关于aspecificprogrammingproblem,asoftwarealgorithm,orsoftwaretoolsprimarilyusedbyprogrammers的.如果您认为这个问题是关于anotherStackExchangesite的主题,您可以发表评论,说明问题可能在哪里得到解答。关闭4年前。Improvethisquestion我使用自定义生成的证书/key对在Go中设置了一个TLS服务器。有没有一种简单的方法可以让我测试我发送到该服务器的HTTP请求的内容

java - 如何解决 netbean javafx 应用程序中不存在 com.sun.org.apache.xml.internal.security 包

我想在NetBean8.0.2中构建.jar。我开发了一个基于javafx应用程序的小项目。我的项目使用诸如com.sun.org.apache.xml.internal.security、com.sun.org.apache.xml.internal.security.c14n和com.sun.org.apache.xml.internal.security.utils.我的项目在Netbean上运行良好,没有警告或错误。但是当我将这个项目构建为jar文件时,发生了以下错误:**error:packagecom.sun.org.apache.xml.internal.security

java - 无法读取架构文档 'http://www.springframework.org/schema/security/spring-security-4.0.xsd'

我想使用这样配置的Springsecurity但是我得到的错误是Multipleannotationsfoundatthisline:-schema_reference.4:Failedtoreadschemadocument'http://www.springframework.org/schema/security/spring-security-4.0.xsd',because1)couldnotfindthedocument;2)thedocumentcouldnotberead;3)therootelementofthedocumentisnot.-cvc-complex-t

python - security.xml 中的 OpenERP ir.rule 记录

Inventorymulti-company['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]我对security.xml文件中的上述代码片段感到困惑下面的标签是什么意思?id="stock_inventory_comp_rule"此行的含义及其标记所在的位置。还是仅用于保存和保留以按id目的识别记录。?Inventorymulti-company这条线的意思。这是否仅用于显示目的?model_stock_inventory指的是哪一个,这个.的用途是什么?为什么这个设置为全局Tru

java - SAXNotRecognizedException : Feature 'http://javax.xml.XMLConstants/feature/secure-processing' not recognized

我在解码类时收到此错误。我正在使用Amazon的mTurks以及Spring、Maven和(惊喜,惊喜)一个xerces问题已经引起了它的注意。我以多种不同的方式使用POM来尝试解决问题,但我似乎无法找出解决方案。我正在使用在这里找到的mturks的mavenized版本:https://github.com/tc/java-aws-mturk我已经明确地从mturks中排除了xerces的东西:com.amazonjava-aws-mturk1.2.2commons-langcommons-langapache-xercesxercesImplapache-xercesresolve

php - Soapclient 不解析 WSDL(使用 SSL 证书和 wsse)

当尝试使用SoapClient实现Web服务时,似乎没有解析wsdl链接;尝试创建新的SoapClient对象时,请求失败并显示消息:Requestfailed.Reason:SOAP-ERROR:ParsingSchema:can'timportschemafrom'https://dev.example.com/StubService/RequestService.xsd'WSDL包含指向请求和响应的.xsd文件的相关链接,但是当客户端尝试加载它们时,它们并不存在。在浏览器中导航到WSDL文件时,它会重定向到.wsdl文件的长格式版本。将其替换到WSDL文件中可以解决这个问题,但服

java - 在 Soap Security Header (Spring WS) 中设置自定义标签

我正在使用SpringWSTemplate客户端发送消息。使用方法sendSourceAndReceiveToResult(SourcerequestPayload,WebServiceMessageCallbackrequestCallback,ResultresponseResult)。在此,我使用wss4jsecurityinterceptor设置了一些安全凭证。但目前我需要在usernametoken中设置自定义标签(RegisterKey),如下所示。testa287645857cfaaddf82e2d333651b3e0oKGlwEkbkhYJH6upsbiqeQ==201

java - Spring Security 在 Controller 中使用@security 注释

我正在使用springsecurity并创建一个演示应用程序。它包含一个登录Controller和2个用于登录和成功的jsp页面。我想使用@secure批注在Controller中应用方法级安全性但是不起作用,当我在我的服务类中应用它时它运行良好。谁能帮我找出我做错了什么:(我的pom.xml是4.0.0com.concretepage.appSpringSecuritywar1.0-SNAPSHOTSpringSecurityApp3.1.4.RELEASEorg.springframeworkspring-core${spring.version}org.springframewo

java - Spring Security XML 配置与 Java 配置

我有SpringSecurity的XML配置,这是我通过大量指南完成的。它应该拦截url并使用自定义过滤器提供ldap身份验证管理器的身份验证。所以这里是:现在我正在尝试用JavaConfig重写它。但我不知道如何在那里使用自定义过滤器。有.addFilterBefore但我不能只把before="LAST"或before="PRE_AUTH_FILTER"放在那里。因为没有这样的东西。我该如何重写它?@Configuration@EnableWebSecuritypublicclassSecurityConfigextendsWebSecurityConfigurerAdapter{