尝试添加表单时“Peer未经过身份验证”

时间:2011-05-27 15:57:55

标签: ssl orbeon

我刚刚在WebSphere WAS 7.0环境中安装了Orbeon 3.9 CE,但是当我尝试添加一个表单时,我得到了错误并且错误地说“peer not authenticated”。 我打开了log4j.xml文件中的调试,这就是我从中得到的:

2011-05-27 16:34:13,051 ERROR ProcessorService - Exception at oxf:/apps/fr/components/components.xsl (executing XSLT transformation) javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.ibm.jsse2.fc.getPeerCertificates(fc.java:46) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:390) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:488) at org.apache.http.conn.scheme.SchemeSocketFactoryAdaptor.connectSocket(SchemeSocketFactoryAdaptor.java:62) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:562) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754) at org.orbeon.oxf.resources.handler.HTTPURLConnection.connect(HTTPURLConnection.java:219) at org.orbeon.oxf.util.Connection.connect(Connection.java:494) at org.orbeon.oxf.util.Connection.open(Connection.java:94) at org.orbeon.oxf.processor.generator.URLGenerator$URLResourceHandler.openConnection(URLGenerator.java:817) at org.orbeon.oxf.processor.generator.URLGenerator$URLResourceHandler.getResourceMediaType(URLGenerator.java:770) at org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator.java:420) at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:263) at org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:406) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:260) at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.readImpl(TeeProcessor.java:89) at org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:263) at org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:406) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:260) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:286) at org.orbeon.oxf.processor.ProcessorImpl$3.read(ProcessorImpl.java:315) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:365) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:330) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:313)

1 个答案:

答案 0 :(得分:2)

如果您将HTTPS与无效证书(例如自签名证书)一起使用,这看起来就像是一个错误。如果这是您正在做的事情,您可以:

  • 将您的证书添加到VM信任库。 (我会让你在WebSphere上查找如何做到这一点。)
  • 至少在没有有效证书的开发期间使用HTTP而不是HTTPS。
  • 获取真实证书,例如免费颁发1级证书的StartSSL