Author

Topic: Bitcoin-core 0.10 and BitcoinJ are giving me a Payment Protocol error. (Read 999 times)

legendary
Activity: 1498
Merit: 1000
BUMP! It be nice to know why this only affects bitcoin-core and bitcoinj. Bitpay's payment protocol implement passes my payment request.
legendary
Activity: 1498
Merit: 1000
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.(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.
Jump to: