微信支付接口签名校验通过,但是报错商户证书不合法
2020-03-05 08:27:36,553 DEBUG (RequestAuthCache.java:77)- Auth cache not set in the context
2020-03-05 08:27:36,556 DEBUG (PoolingHttpClientConnectionManager.java:265)- Connection request: [route: {s}->https://api.mch.weixin.qq.com:443][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20]
2020-03-05 08:27:36,572 DEBUG (DBSemaphore.java:116)- Lock 'STATE_ACCESS' given to: Quartz Scheduler [RenrenScheduler]
2020-03-05 08:27:36,576 DEBUG (PoolingHttpClientConnectionManager.java:309)- Connection leased: [id: 0][route: {s}->https://api.mch.weixin.qq.com:443][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 20]
2020-03-05 08:27:36,578 DEBUG (MainClientExec.java:235)- Opening connection {s}->https://api.mch.weixin.qq.com:443
2020-03-05 08:27:36,603 DEBUG (DefaultHttpClientConnectionOperator.java:139)- Connecting to api.mch.weixin.qq.com/140.207.64.140:443
2020-03-05 08:27:36,604 DEBUG (SSLConnectionSocketFactory.java:337)- Connecting socket to api.mch.weixin.qq.com/140.207.64.140:443 with timeout 0
2020-03-05 08:27:36,644 DEBUG (SSLConnectionSocketFactory.java:390)- Enabled protocols: [TLSv1, TLSv1.1, TLSv1.2]
2020-03-05 08:27:36,644 DEBUG (SSLConnectionSocketFactory.java:391)- Enabled cipher suites:[TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384, TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, TLS_DHE_DSS_WITH_AES_256_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_DSS_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384, TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_DSS_WITH_AES_128_GCM_SHA256, TLS_EMPTY_RENEGOTIATION_INFO_SCSV]
2020-03-05 08:27:36,645 DEBUG (SSLConnectionSocketFactory.java:395)- Starting handshake
2020-03-05 08:27:36,714 DEBUG (DBSemaphore.java:141)- Lock 'STATE_ACCESS' returned by: Quartz Scheduler [RenrenScheduler]
2020-03-05 08:27:36,741 DEBUG (DataSourceUtils.java:340)- Returning JDBC Connection to DataSource
2020-03-05 08:27:36,741 DEBUG (JobStoreSupport.java:3923)- ClusterManager: Check-in complete.
2020-03-05 08:27:36,742 DEBUG (JobStoreSupport.java:708)- JobStore background threads started (as scheduler was started).
2020-03-05 08:27:36,742 INFO (QuartzScheduler.java:547)- Scheduler RenrenScheduler_$_SKY-20181124ABA1583367926677 started.
2020-03-05 08:27:36,742 DEBUG (JobStoreSupport.java:3995)- MisfireHandler: scanning for misfires...
2020-03-05 08:27:36,757 DEBUG (SSLConnectionSocketFactory.java:425)- Secure session established
2020-03-05 08:27:36,757 DEBUG (SSLConnectionSocketFactory.java:426)- negotiated protocol: TLSv1.2
2020-03-05 08:27:36,757 DEBUG (SSLConnectionSocketFactory.java:427)- negotiated cipher suite: TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
2020-03-05 08:27:36,758 DEBUG (SSLConnectionSocketFactory.java:435)- peer principal: CN=payapp.weixin.qq.com, OU=R&D, O=Shenzhen Tencent Computer Systems Company Limited, L=Shenzhen, ST=Guangdong, C=CN
2020-03-05 08:27:36,758 DEBUG (SSLConnectionSocketFactory.java:444)- peer alternative names: [wx.gtimg.com, payapp.weixin.qq.com, act.weixin.qq.com, pay.weops.qq.com, pay.weixin.qq.com, oz.weixin.qq.com, mch.weixin.qq.com, log.weixin.qq.com, za.pay.wechat.com, action.weixin.qq.com, apius.mch.weixin.qq.com, apitest.mch.weixin.qq.com, fraudhk.mch.weixin.qq.com, fraudus.mch.weixin.qq.com, apihk.mch.weixin.qq.com, api2.mch.weixin.qq.com, api.pay.weixin.qq.com, api.oz.weixin.qq.com, api.mch.weixin.qq.com, fraud.mch.weixin.qq.com]
2020-03-05 08:27:36,758 DEBUG (SSLConnectionSocketFactory.java:448)- issuer principal: CN=Secure Site CA G2, OU=www.digicert.com, O=DigiCert Inc, C=US
2020-03-05 08:27:36,764 DEBUG (DefaultHttpClientConnectionOperator.java:146)- Connection established 192.168.215.23:59772<->140.207.64.140:443
2020-03-05 08:27:36,764 DEBUG (MainClientExec.java:256)- Executing request POST /pay/downloadfundflow HTTP/1.1
2020-03-05 08:27:36,765 DEBUG (MainClientExec.java:261)- Target auth state: UNCHALLENGED
2020-03-05 08:27:36,765 DEBUG (MainClientExec.java:267)- Proxy auth state: UNCHALLENGED
2020-03-05 08:27:36,769 DEBUG (LoggingManagedHttpClientConnection.java:133)- http-outgoing-0 >> POST /pay/downloadfundflow HTTP/1.1
2020-03-05 08:27:36,769 DEBUG (LoggingManagedHttpClientConnection.java:136)- http-outgoing-0 >> Content-Type: application/xml
2020-03-05 08:27:36,769 DEBUG (LoggingManagedHttpClientConnection.java:136)- http-outgoing-0 >> Content-Length: 266
2020-03-05 08:27:36,770 DEBUG (LoggingManagedHttpClientConnection.java:136)- http-outgoing-0 >> Host: api.mch.weixin.qq.com
2020-03-05 08:27:36,770 DEBUG (LoggingManagedHttpClientConnection.java:136)- http-outgoing-0 >> Connection: Keep-Alive
2020-03-05 08:27:36,770 DEBUG (LoggingManagedHttpClientConnection.java:136)- http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_191)
2020-03-05 08:27:36,770 DEBUG (LoggingManagedHttpClientConnection.java:136)- http-outgoing-0 >> Accept-Encoding: gzip,deflate
2020-03-05 08:27:36,771 DEBUG (Wire.java:73)- http-outgoing-0 >> "POST /pay/downloadfundflow HTTP/1.1[\r][\n]"
2020-03-05 08:27:36,772 DEBUG (Wire.java:73)- http-outgoing-0 >> "Content-Type: application/xml[\r][\n]"
2020-03-05 08:27:36,772 DEBUG (Wire.java:73)- http-outgoing-0 >> "Content-Length: 266[\r][\n]"
2020-03-05 08:27:36,772 DEBUG (Wire.java:73)- http-outgoing-0 >> "Host: api.mch.weixin.qq.com[\r][\n]"
2020-03-05 08:27:36,773 DEBUG (Wire.java:73)- http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]"
2020-03-05 08:27:36,773 DEBUG (Wire.java:73)- http-outgoing-0 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_191)[\r][\n]"
2020-03-05 08:27:36,773 DEBUG (Wire.java:73)- http-outgoing-0 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-03-05 08:27:36,773 DEBUG (Wire.java:73)- http-outgoing-0 >> "[\r][\n]"
2020-03-05 08:27:36,798 DEBUG (JobStoreSupport.java:3244)- Found 0 triggers that missed their scheduled fire-time.
2020-03-05 08:27:36,821 DEBUG (Wire.java:73)- http-outgoing-0 << "HTTP/1.1 200 OK[\r][\n]"
2020-03-05 08:27:36,821 DEBUG (Wire.java:73)- http-outgoing-0 << "Server: nginx[\r][\n]"
2020-03-05 08:27:36,821 DEBUG (Wire.java:73)- http-outgoing-0 << "Date: Thu, 05 Mar 2020 00:27:37 GMT[\r][\n]"
2020-03-05 08:27:36,821 DEBUG (Wire.java:73)- http-outgoing-0 << "Content-Type: text/plain; charset=utf-8[\r][\n]"
2020-03-05 08:27:36,822 DEBUG (Wire.java:73)- http-outgoing-0 << "Content-Length: 114[\r][\n]"
2020-03-05 08:27:36,822 DEBUG (Wire.java:73)- http-outgoing-0 << "Connection: keep-alive[\r][\n]"
2020-03-05 08:27:36,822 DEBUG (Wire.java:73)- http-outgoing-0 << "Keep-Alive: timeout=8[\r][\n]"
2020-03-05 08:27:36,822 DEBUG (Wire.java:73)- http-outgoing-0 << "[\r][\n]"
2020-03-05 08:27:36,822 DEBUG (Wire.java:73)- http-outgoing-0 << "<xml><return_code><![CDATA[FAIL]]></return_code>[\n]"
2020-03-05 08:27:36,822 DEBUG (Wire.java:73)- http-outgoing-0 << "<return_msg><![CDATA[[0xe5][0x95][0x86][0xe6][0x88][0xb7][0xe8][0xaf][0x81][0xe4][0xb9][0xa6][0xe4][0xb8][0x8d][0xe5][0x90][0x88][0xe6][0xb3][0x95]]]></return_msg>[\n]"
2020-03-05 08:27:36,822 DEBUG (Wire.java:87)- http-outgoing-0 << "</xml>"
2020-03-05 08:27:36,826 DEBUG (LoggingManagedHttpClientConnection.java:122)- http-outgoing-0 << HTTP/1.1 200 OK
2020-03-05 08:27:36,827 DEBUG (LoggingManagedHttpClientConnection.java:125)- http-outgoing-0 << Server: nginx
2020-03-05 08:27:36,827 DEBUG (LoggingManagedHttpClientConnection.java:125)- http-outgoing-0 << Date: Thu, 05 Mar 2020 00:27:37 GMT
2020-03-05 08:27:36,827 DEBUG (LoggingManagedHttpClientConnection.java:125)- http-outgoing-0 << Content-Type: text/plain; charset=utf-8
2020-03-05 08:27:36,827 DEBUG (LoggingManagedHttpClientConnection.java:125)- http-outgoing-0 << Content-Length: 114
2020-03-05 08:27:36,827 DEBUG (LoggingManagedHttpClientConnection.java:125)- http-outgoing-0 << Connection: keep-alive
2020-03-05 08:27:36,827 DEBUG (LoggingManagedHttpClientConnection.java:125)- http-outgoing-0 << Keep-Alive: timeout=8
2020-03-05 08:27:36,834 DEBUG (MainClientExec.java:285)- Connection can be kept alive for 8000 MILLISECONDS
2020-03-05 08:27:36,838 DEBUG (PoolingHttpClientConnectionManager.java:341)- Connection [id: 0][route: {s}->https://api.mch.weixin.qq.com:443] can be kept alive for 8.0 seconds
2020-03-05 08:27:36,839 DEBUG (LoggingManagedHttpClientConnection.java:88)- http-outgoing-0: set socket timeout to 0
2020-03-05 08:27:36,839 DEBUG (PoolingHttpClientConnectionManager.java:348)- Connection released: [id: 0][route: {s}->https://api.mch.weixin.qq.com:443][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 20]
POST请求路径:POST https://api.mch.weixin.qq.com/pay/downloadfundflow HTTP/1.1
POST请求结果:<xml><return_code><![CDATA[FAIL]]></return_code>
<return_msg><![CDATA[商户证书不合法]]></return_msg>
</xml>
result:<xml><return_code><![CDATA[FAIL]]></return_code>
<return_msg><![CDATA[商户证书不合法]]></return_msg>
</xml>
API-下载资金账单接口-报错:签名错误,同一账户对应一个app的账户可以正常下载资金账单,同一账户对应多个app的账户一直提示签名错误
添加一下wepayTS8(微信社区XXX问题)