seandaniels
04/22/2022, 12:42 PMbox install
for a project that uses cbdebugger, which I believe was updated yesterday, according to Forgebox. The error is: Connection failure <https://repo1.maven.org/maven2/com/github/vertical-blank/sql-formatter/2.0.3/sql-formatter-2.0.3.jarPKIX> path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
bdw429s
04/22/2022, 3:12 PMunable to find valid certification path
This means the host is configured to use an SSL cert which is not trusted#sslcertificatelist <http://repo1.maven.org|repo1.maven.org>
which will show you what SSL cert chain is being presented[
{
"subject":"CN=<http://repo1.maven.org|repo1.maven.org>",
"issuer":"CN=GlobalSign Atlas R3 DV TLS CA H2 2021, O=GlobalSign nv-sa, C=BE"
},
{
"subject":"CN=GlobalSign Atlas R3 DV TLS CA H2 2021, O=GlobalSign nv-sa, C=BE",
"issuer":"CN=GlobalSign, O=GlobalSign, OU=GlobalSign Root CA - R3"
}
]
seandaniels
04/22/2022, 3:29 PMCommandBox> #sslcertificatelist <http://repo1.maven.org|repo1.maven.org>
{
"COLUMNS":[
"subject",
"issuer"
],
"DATA":[
[
"CN=<http://repo1.maven.org|repo1.maven.org>",
"CN=GlobalSign Atlas R3 DV TLS CA H2 2021, O=GlobalSign nv-sa, C=BE"
],
[
"CN=GlobalSign Atlas R3 DV TLS CA H2 2021, O=GlobalSign nv-sa, C=BE",
"CN=GlobalSign, O=GlobalSign, OU=GlobalSign Root CA - R3"
]
]
}
CommandBox> #sslcertificatelist <http://repo1.maven.org|repo1.maven.org>
[
{
"subject":"CN=<http://repo1.maven.org|repo1.maven.org>",
"issuer":"CN=GlobalSign Atlas R3 DV TLS CA H2 2021, O=GlobalSign nv-sa, C=BE"
},
{
"subject":"CN=GlobalSign Atlas R3 DV TLS CA H2 2021, O=GlobalSign nv-sa, C=BE",
"issuer":"CN=GlobalSign, O=GlobalSign, OU=GlobalSign Root CA - R3"
}
]
box install
so...bdw429s
04/22/2022, 3:44 PMrepl 'http url="<https://repo1.maven.org/maven2/com/github/vertical-blank/sql-formatter/2.0.3/sql-formatter-2.0.3.jar>"; echo(serializeJSON(cfhttp));'
curl
just for funsies (or in a browser)seandaniels
04/25/2022, 7:58 PMmborn
04/26/2022, 1:40 PMseandaniels
04/27/2022, 1:39 PMCannot activate module: cbjavaloader. Already processed API,translators,sqlformatter,diff,plaid,textsimilarity,minfraud,paypal,geoIP,cbsecurity,jwtcfml,cloudinary,cbi18n,socketlabs,towerdata,mongoentity,cbauth,awscfml,recaptcha,geonames,HTMLHelper,ekata,cbstorages,mailboxlayer,schemaorg,algolia,cbcommons,cbdebugger,autodeploy,stripecfml,route-visualizer,threatmetrix,libphonenumber,tineye,sitemaputils,linkedin,safebrowsing,convertedplugins,JSONPrettyPrint,webpurify,dotenvsettings,exchangerates,telesign,contentful,numverify,cbvalidation
).{
"status_text": "Connection Failure",
"charset": "",
"text": true,
"errordetail": "Unknown host: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target",
"filecontent": "Connection Failure",
"responseheader": {},
"statuscode": "Connection Failure. Status code unavailable.",
"header": "",
"status_code": 0,
"mimetype": "Unable to determine MIME type of file."
}
bdw429s
04/27/2022, 5:44 PM5.2.0
used was 5.3.7.47
https://github.com/Ortus-Solutions/commandbox/blob/v5.2.0/build/build.properties#L13seandaniels
04/27/2022, 5:46 PM5.4.2
bdw429s
04/27/2022, 5:46 PMmborn
04/27/2022, 5:47 PMbox install jar:LINK_TO_MAVEN
then?seandaniels
04/27/2022, 5:47 PMbdw429s
04/27/2022, 5:47 PMseandaniels
04/27/2022, 5:50 PMbdw429s
04/27/2022, 5:50 PMwhy I seem to be the only one experiencing this issueWho knows. I stopped trying to answer questions like that years ago 😆
Lots of folks use cbdebugger, no?Not really, IMO. It's also a matter of what version they're using.
the version of CommandBox you are using uses a snapshot build of Lucee?Locally, on my PC, yes.
engine
folder and cross your fingersmborn
04/27/2022, 5:53 PMIt's also a matter of what version they're using.100%, yes. @seandaniels the sqlFormatter module is only used since cbdebugger 3.3.0. https://github.com/coldbox-modules/cbdebugger/releases
seandaniels
04/27/2022, 5:53 PMmborn
04/27/2022, 5:54 PMseandaniels
04/27/2022, 5:54 PMbdw429s
04/27/2022, 5:54 PMforgebox pubish
• put a mirror of the jar on Ortus' S3mborn
04/27/2022, 5:55 PMbdw429s
04/27/2022, 5:55 PMmborn
04/27/2022, 5:55 PMbdw429s
04/27/2022, 5:56 PMmborn
04/27/2022, 5:56 PM"sqlformatter":"^1.0.1"
bdw429s
04/27/2022, 5:56 PM