mssql broken in 5.4 due to missing bouncy castle

Description

[java] [script] {"Extended_Info":"","Message":"Unable to resolve org.lucee.mssql [43](R 43.0): missing requirement [org.lucee.mssql [43](R 43.0)] osgi.wiring.package; (osgi.wiring.package=org.bouncycastle.jce.provider) Unresolved requirements: [[org.lucee.mssql [43](R 43.0)] osgi.wiring.package; (osgi.wiring.package=org.bouncycastle.jce.provider)]", "Detail":"","additional":[],"TagContext":[],"ErrorCode":"0","type":"org.osgi.framework.BundleException", "StackTrace":"lucee.runtime.exp.NativeException: Unable to resolve org.lucee.mssql [43](R 43.0): missing requirement [org.lucee.mssql [43](R 43.0)] osgi.wiring.package; (osgi.wiring.package=org.bouncycastle.jce.provider) Unresolved requirements: [[org.lucee.mssql [43](R 43.0)] osgi.wiring.package; (osgi.wiring.package=org.bouncycastle.jce.provider)]

https://github.com/lucee/extension-jdbc-mssql/actions/runs/5154756771/jobs/9283590901#step:10:157

[INFO] [java] [script] ERROR Service [ MSsql ] threw [ The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer ( SSL) encryption. Error: "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target". ClientConnectionId:ca96fa2d-7dfc-432a-a537-41c24158303e ]

https://github.com/lucee/Lucee/actions/runs/5154581191/jobs/9283201962#step:20:310

Attachments

1
  • 02 Jun 2023, 11:17 am

Activity

Michael Offner 
6 June 2023 at 14:33

i will not close this ticket before https://luceeserver.atlassian.net/browse/LDEV-4525 is not resolved

Zac Spitzer 
5 June 2023 at 14:59

Michael Offner 
5 June 2023 at 14:56
(edited)

please create a separate ticket for this, seems unrelated. but link it here

Zac Spitzer 
5 June 2023 at 14:47

still getting the second The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer

https://github.com/lucee/Lucee/actions/runs/5178376122/jobs/9329742781#step:20:334

Michael Offner 
5 June 2023 at 14:32

i have added a package bundle mapping for bouncycastle to Lucee, so Lucee can load this classes if needed

https://github.com/lucee/Lucee/commit/ac676c252d2fed2e7b8230de5c37a9cea3d817ce

in a second step we will also make sure, this get loaded by the driver itself, but that fix should solve the issue with the current driver.

Fixed

Details

Assignee

Reporter

Labels

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

Priority

Created 2 June 2023 at 11:07
Updated 7 June 2023 at 13:00
Resolved 7 June 2023 at 13:00