[JIRA] (OSJ-379) "trustAnchors parameter must be non-empty" failure in httpClient

Brent Putman (Jira) jira at shibboleth.atlassian.net
Sat May 20 02:07:13 UTC 2023


Brent Putman ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A97de0981-adc3-4044-95ed-131622fad81e ) *commented* on OSJ-379 ( https://shibboleth.atlassian.net/browse/OSJ-379?atlOrigin=eyJpIjoiYjBmNzc2YzRhZjE3NDI0MWJlZGQ3YWFiNjk5MDYwNjIiLCJwIjoiaiJ9 )

Re: "trustAnchors parameter must be non-empty" failure in httpClient ( https://shibboleth.atlassian.net/browse/OSJ-379?atlOrigin=eyJpIjoiYjBmNzc2YzRhZjE3NDI0MWJlZGQ3YWFiNjk5MDYwNjIiLCJwIjoiaiJ9 )

The other option would be to point your JVM at a trust store at a different path that you maintain manually and that won’t change unexpectedly due to RPM or platform updates. You’d just add a -Djavax.net.ssl.trustStore to your container start process for that. Obviously puts the burden on you to then maintain that file, so not 100% optimal. But at least gives more predictability.

( https://shibboleth.atlassian.net/browse/OSJ-379#add-comment?atlOrigin=eyJpIjoiYjBmNzc2YzRhZjE3NDI0MWJlZGQ3YWFiNjk5MDYwNjIiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/OSJ-379#add-comment?atlOrigin=eyJpIjoiYjBmNzc2YzRhZjE3NDI0MWJlZGQ3YWFiNjk5MDYwNjIiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- sha1:9dd72a2 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230520/7532b100/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-711f65d7-bc85-488a-b875-8715ff5d1623
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230520/7532b100/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-694324fd-feca-420f-bc51-ebbf6ed73179
Type: image/png
Size: 345 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230520/7532b100/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-f68ac9fe-1ae7-40ac-8563-6cde221ee288
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230520/7532b100/attachment-0005.png>


More information about the commits mailing list