草庐IT

SSL_OP_NO_SSLv

全部标签

java - SSLv2Hello - javax.net.ssl.SSLException : Received fatal alert: unexpected_message

我正在尝试使用基于Java6(更新31)的客户端调用在JDK7/WildFly8.2上运行的受SSL保护的Web服务。我在客户端遇到的第一个问题是:javax.net.ssl.SSLException:Receivedfatalalert:unexpected_message通过将两侧的javax.net.debug设置为all,我在服务器端得到了以下提示:javax.net.ssl.SSLHandshakeException:SSLv2Helloisdisabled快速研究shows那个,SSLv2Hellodisabledbydefaultontheclient:InJavaSE7

java - Jetty 需要 URL 的 SSL 客户端证书

我想在HTTPS站点上的Jetty中运行一个servlet,该站点只需要部分站点(特定URL)的客户端证书。例如:https://example.com/someservlet/public-无需客户证书https://example.com/someservlet/protected-需要客户证书在Apache中,我可以通过指定SSLVerifyClientrequire来完成此操作在里面或这会强制Apache在发出请求后重新协商SSL连接。我不想运行嵌入任何其他东西的Jetty,只是独立运行。这可能吗?Servlet能否以某种方式直接导致这种情况?可以通过配置完成吗?

java - SSL异常 : SSL peer shut down incorrectly

在我的客户端Ant任务中从Jetty服务器下载文件,我偶尔会得到一个javax.net.ssl.SSLException:SSLpeershutdownincorrectlyatcom.sun.net.ssl.internal.ssl.InputRecord.readV3Record(InputRecord.java:408)atcom.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:360)atcom.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSock

java - 组织.hibernate.HibernateException : No TransactionManagerLookup specified on hibernate upgrade

我正在运行spring4.1.4、hibernate4.3.8、atomikos3.9.3、java8、tomcat8。当我启动我的服务器时,我在localhost.log中看到了上述异常,但我不确定除了我已经配置它的地方之外,在哪里配置TransactionManagerLookup。这在升级hibernate之前没有发生,因此很可能是版本控制问题。有谁能帮忙吗?仅供引用:catalina.out显示没有任何用处。只是:SEVERE[localhost-startStop-1]org.apache.catalina.core.StandardContext.startInternal

java - Quartz 作业抛出 InvalidDataAccessApiUsageException : no transaction is in progress;

我有一个非常简单的quartz作业,它试图从数据库中获取打印机记录,我收到此错误:org.springframework.dao.InvalidDataAccessApiUsageException:notransactionisinprogress;nestedexceptionisjavax.persistence.TransactionRequiredException:notransactionisinprogressjavax.persistence.TransactionRequiredException:notransactionisinprogress这是应用程序的代码

java - 使用 Java 编写 SSL 检查器

有人知道关于用Java编写SSL检查器的任何好的教程、站点和/或书籍吗?我正在尝试做可以在这里找到的事情:http://www.sslshopper.com/ssl-checker.html.我不是要创建自签名证书或使用keystore。我希望能够访问任何站点,确定是否存在有效的SSL证书,确定证书上的主机名是否与输入的名称匹配,并确定该证书何时过期。我用谷歌搜索了这个主题,但“如何使用Java创建SSL购物者”没有给我任何结果,我的其他搜索只给我带来了关于如何创建自签名证书的链接。任何帮助将不胜感激。 最佳答案 要首先获取服务器证

java - ORA-12519, TNS :no appropriate service handler found while inserting into Oracle Database with X threads

我正在尝试插入到具有两列的Oracle数据库中-IDPrimaryKeyvarchar2(4000)ACCOUNTvarchar2(4000)我为此编写了一个多线程程序。并且每个线程每次都使用uniqueid插入ID列,因为ID是主键。我在某些时候面临的唯一问题是-下面的代码在运行几秒钟后抛出以下异常。1)NullPointerException2)java.sql.SQLException:Listenerrefusedtheconnectionwiththefollowingerror:ORA-12519,TNS:noappropriateservicehandlerfound我无

java - chalice /hibernate : No row with the given identifier exists

我有一个域名如下:classAuthor{StringidstatichasMany=[accounts:Account]staticbelongsTo=Accountstaticmapping={accountsjoinTable:[name:"SOMETABLE",key:'SOMEFIELD'],ignoreNotFound:true}staticconstraints={}}没有找到记录时出现以下错误。我试过ignoreNotFound,它不起作用。errormessage:accounts=org.hibernate.ObjectNotFoundException:Norow

java - jackson 错误 : No such method com. fasterxml.jackson.core.JsonGenerator.setCurrentValue(Ljava/lang/Object;)V

我正在开发一个Spring-MVC应用程序,从早上开始,当我调用一个特定的Controller方法时,我收到了与Jackson相关的错误。由于没有具体指出错误所在的行,因此我查找并发现这是一个POM问题。我从周五开始才添加了Google和Dropbox依赖项,这个问题似乎正在发生。我已经尝试排除Jackson-mapper,但不走运。错误日志:SEVERE:Servlet.service()forservlet[appServlet]incontextwithpath[]threwexception[Handlerprocessingfailed;nestedexceptionisja

java - Spring 启动: No matching bean found exception

我的第一个SpringBoot应用程序中的登录页面:主类@SpringBootApplicationpublicclassMainGateextendsSpringBootServletInitializer{@OverrideprotectedSpringApplicationBuilderconfigure(SpringApplicationBuilderapplication){returnapplication.sources(MainGate.class);}publicstaticvoidmain(String...args){System.out.println("Boo