Issues

Select view

Select search mode

 

cfhttp can't connect to https://repo1.maven.org/

Cannot Reproduce

Description

<cfscript> dump(server.lucee.version); flush; metaDataURL = "https://repo1.maven.org/maven2/org/apache/tika/tika-core/maven-metadata.xml"; cfhttp( url=metaDataURL, result="res"); writeDump(res); </cfscript>

https://trycf.com/gist/5b62b028e72c2f76ef2251ccff198e2e/lucee5?theme=monokai

throws

Unknown host: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

Environment

None

Attachments

1
  • 10 Jun 2022, 01:37 pm

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 10 June 2022 at 13:37
Updated 1 July 2023 at 15:16
Resolved 1 July 2022 at 09:41

Activity

Show:

Brad Wood1 July 2022 at 16:55

That doesn’t mean the OP hadn’t modified or corrupted their cacerts file.

Zac Spitzer1 July 2022 at 15:40

Yeah, but Lucee hasn’t updated caerts since this occurred, so it was an upstream problem, IMHO

Brad Wood1 July 2022 at 15:39

The error seemed it was related to the SSL cert. The remote server could have updated their cert, Lucee could have updated its keystore, or the error may have been specific to your Java version.

Stackoverflow says it was likely an issue with your trust store

https://stackoverflow.com/a/6788682/2166947

Pothys - MitrahSoft1 July 2022 at 09:49

works for me too

Flag notifications