bitpay/bitcore-payment-protocol

Payment request certificate chain

homeopatchy opened this issue · 0 comments

Is it possible to provide a full or a partial certificate chain when issuing a payment request? My domain's certificate was issued by an intermediary which is not stored in rootcerts.json:

AddTrust External CA Root
|__ COMODO RSA Certification Authority
    |__ COMODO RSA Extended Validation Secure Server CA  <--
        |__ MyDomain.com

I've been trying to supply the whole chain as well as a partial one and I couldn't make it work. I think bitcoinj does not have this issue, mycelium testnet is able to correctly verify the signature by verifying the entire chain.