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

getTSL().refresh() fails #123

Closed dsoccer1980 closed 11 months ago

dsoccer1980 commented 11 months ago

digidoc4j', version: '5.2.0' When java application starts, it fails at row configuration.getTSL().refresh(); with Unable to retrieve the content for url 'https://open-eid.github.io/test-TL/tl-mp-test-EE.xml'. Reason : 'Unable to configure the SSLContext/SSLConnectionSocketFactory'

rsarendus commented 11 months ago

Hello!

Do you use some version of Java 8? If so, then is your stack trace of the exception similar to the one specified here (Unable to configure the SSLContext/SSLConnectionSocketFactory is being caused by java.security.NoSuchAlgorithmException: TLSv1.3 SSLContext not available).

In case the exception is caused by the unavailability of TLSv1.3 support, then potential solutions are listed here.

In case the cause of the exception is not related to TLS protocol versions, then could you provide any specifics about the exact cause of Unable to configure the SSLContext/SSLConnectionSocketFactory, if available.