open-eid / digidoc4j

DigiDoc for Java. Javadoc:
http://open-eid.github.io/digidoc4j
GNU Lesser General Public License v2.1
72 stars 40 forks source link

Unable to process GET call for url [https://trustlist.gov.lv/tsl/latvian-tsl.xml] #89

Closed diidiiman closed 3 years ago

diidiiman commented 3 years ago

Hello!

Currently with the implementation straight out of the box it is not getting latvian-tsl.xml.

I presume that there might be a need for custom JKS, but which keys should I put there (as described here - https://github.com/open-eid/digidoc4j/wiki/Questions-&-Answers#how-to-add-trust-for-new-eu-tsl-signing-certificates)?

As far as I understand it is not the signing per-se, but simply issue with getting country specific TSL.

Is there something else that must be done in order to be able to access this xml?

P.S. Help.

naare commented 3 years ago

Latvia (also Sweden and Iceland) has updated its TSL SSL certificate to a new provider that is not trusted in default Digidoc4j truststore. You can find more info here: https://github.com/open-eid/digidoc4j/wiki/Questions-&-Answers#tsl-ssl-truststore

diidiiman commented 3 years ago

Thank you very much! Somehow could not find this resource... Eh.