Bitcoin Forum
May 02, 2024, 03:23:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin-core 0.10 and BitcoinJ are giving me a Payment Protocol error.  (Read 999 times)
gweedo (OP)
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
January 31, 2015, 03:28:51 AM
 #1

I keep getting this error...

Code:
GUI: PaymentRequestPlus::getMerchant : SSL error:  unable to get local issuer certificate 

and on bitcoinj I get...

Code:
Failed whilst retrieving payment URL: org.bitcoinj.protocols.payments.PaymentProtocolException$PkiVerificationException: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
java.util.concurrent.ExecutionException: org.bitcoinj.protocols.payments.PaymentProtocolException$PkiVerificationException: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at PaymentProtocolTool.dump(PaymentProtocolTool.java:65)
at PaymentProtocolTool.main(PaymentProtocolTool.java:44)
Caused by: org.bitcoinj.protocols.payments.PaymentProtocolException$PkiVerificationException: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
at org.bitcoinj.protocols.payments.PaymentProtocol.verifyPaymentRequestPki(PaymentProtocol.java:234)
at org.bitcoinj.protocols.payments.PaymentSession.<init>(PaymentSession.java:209)
at org.bitcoinj.protocols.payments.PaymentSession$1.call(PaymentSession.java:178)
at org.bitcoinj.protocols.payments.PaymentSession$1.call(PaymentSession.java:171)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:208)
at java.security.cert.CertPathValidator.validate(CertPathValidator.java:279)
at org.bitcoinj.protocols.payments.PaymentProtocol.verifyPaymentRequestPki(PaymentProtocol.java:199)
... 7 more

Is this because I am testing it on non-https development server or am I missing a piece of the certificate? I can't figure out what is causing this.
1714663429
Hero Member
*
Offline Offline

Posts: 1714663429

View Profile Personal Message (Offline)

Ignore
1714663429
Reply with quote  #2

1714663429
Report to moderator
1714663429
Hero Member
*
Offline Offline

Posts: 1714663429

View Profile Personal Message (Offline)

Ignore
1714663429
Reply with quote  #2

1714663429
Report to moderator
1714663429
Hero Member
*
Offline Offline

Posts: 1714663429

View Profile Personal Message (Offline)

Ignore
1714663429
Reply with quote  #2

1714663429
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714663429
Hero Member
*
Offline Offline

Posts: 1714663429

View Profile Personal Message (Offline)

Ignore
1714663429
Reply with quote  #2

1714663429
Report to moderator
1714663429
Hero Member
*
Offline Offline

Posts: 1714663429

View Profile Personal Message (Offline)

Ignore
1714663429
Reply with quote  #2

1714663429
Report to moderator
gweedo (OP)
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
January 31, 2015, 09:24:20 PM
 #2

BUMP! It be nice to know why this only affects bitcoin-core and bitcoinj. Bitpay's payment protocol implement passes my payment request.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!