Author Topic: 求助APJP配置问题?  (Read 3234 times)

Offline suzizi2011

  • 会员
  • *
  • Posts: 26
  • 评价: +1/-20
    • View Profile
求助APJP配置问题?
« on: August 18, 2011, 02:17:14 pm »
APJP自从0.8.1后 一直只能http。 https总是失败。
不知道问什么 求助啊?
还是有问题:
APJP_LOCAL_HTTPS_SERVER: START_HTTPS_SERVER OK
APJP_LOCAL_HTTPS_SERVER: EXCEPTION
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderExce
ption: unable to find valid certification path to requested target
        at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
        at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
        at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unkno
wn Source)
        at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown
Source)
        at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
        at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source
)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Un
known Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Sou
rce)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Sou
rce)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(Unknown Source)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Sou
rce)
        at APJP.HTTPS.HTTPSServerWorker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed:
 sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali
d certification path to requested target
        at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
        at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
        at sun.security.validator.Validator.validate(Unknown Source)
        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(Unknown So
urce)
        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(
Unknown Source)
        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(
Unknown Source)
        ... 13 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to
 find valid certification path to requested target
        at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown
 Source)
        at java.security.cert.CertPathBuilder.build(Unknown Source)
        ... 19 more
APJP_LOCAL_HTTPS_SERVER: STOP_HTTPS_SERVER
APJP_LOCAL_HTTPS_SERVER: STOP_HTTPS_SERVER OK
APJP_LOCAL_HTTPS_SERVER: EXCEPTION
javax.net.ssl.SSLException: Received close_notify during handshake
        at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Un
known Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source
)
        at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
        at java.io.OutputStream.write(Unknown Source)
        at APJP.HTTPS.HTTPSServer.test(Unknown Source)
        at APJP.Main.main(Unknown Source)
APJP_LOCAL_HTTPS_SERVER: TEST NOT OK
APJP: EXCEPTION
APJP.HTTPS.HTTPSServerException: TEST_EXCEPTION
        at APJP.HTTPS.HTTPSServer.test(Unknown Source)
        at APJP.Main.main(Unknown Source)
Caused by: javax.net.ssl.SSLException: Received close_notify during handshake
        at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Un
known Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source
)
        at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
        at java.io.OutputStream.write(Unknown Source)
        ... 2 more
APJP: TEST APJP_LOCAL_HTTPS_SERVER NOT OK



« Last Edit: August 18, 2011, 02:56:26 pm by suzizi2011 »

Offline 郑鸣

  • 初级会员
  • **
  • Posts: 196
  • 评价: +0/-7
    • View Profile
Re: 求助APJP配置问题?
« Reply #1 on: August 18, 2011, 03:09:15 pm »
空间不支持吧,换空间。

Offline Victor Fung

  • 中级会员
  • ***
  • Posts: 829
  • 评价: +9/-83
    • View Profile
Re: 求助APJP配置问题?
« Reply #2 on: August 19, 2011, 07:47:42 pm »
請你確定空間 支援OpenSSL, 可以上傳PHP探針測試一下, GAE版本正常嗎?

Offline Victor Fung

  • 中级会员
  • ***
  • Posts: 829
  • 评价: +9/-83
    • View Profile
Re: 求助APJP配置问题?
« Reply #3 on: August 21, 2011, 10:22:46 am »
http://freehostingnoads.net/ 我用這個建立了APJP的php服務器,完全沒問題,這是windows的訊息,能登錄facebook

Offline wills

  • 新会员
  • Posts: 29
  • 评价: +0/-1
    • View Profile
Re: 求助APJP配置问题?
« Reply #4 on: September 20, 2011, 04:38:35 pm »
空间不支持