You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Shawn McKinney (Jira)" <ji...@apache.org> on 2020/03/15 14:39:00 UTC
[jira] [Resolved] (FC-278) RestUtils throws NPE when trust.store
property null for non-TLS conns
[ https://issues.apache.org/jira/browse/FC-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shawn McKinney resolved FC-278.
-------------------------------
Resolution: Fixed
enclosed in a null check:
if( StringUtils.isNotEmpty(trustStore ) && StringUtils.isNotEmpty(trustStorePw ) )
{
LOG.info( "javax.net.ssl.trustStore: {}", trustStore );
System.setProperty( "javax.net.ssl.trustStore", trustStore );
System.setProperty( "javax.net.ssl.trustStorePassword", trustStorePw );
}
> RestUtils throws NPE when trust.store property null for non-TLS conns
> ---------------------------------------------------------------------
>
> Key: FC-278
> URL: https://issues.apache.org/jira/browse/FC-278
> Project: FORTRESS
> Issue Type: Bug
> Affects Versions: 2.0.4
> Reporter: Shawn McKinney
> Assignee: Shawn McKinney
> Priority: Major
> Fix For: 3.0.0-RC1
>
>
> Never throw an NPE but this property should only need to be set when using HTTPS with the host.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org