You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mikael Sterner <ms...@tomcat.mxy.se> on 2021/08/05 12:09:17 UTC

Wrong logic for NONE as certificateKeystoreFile?

It seems like the logic implemented for NONE as certificateKeystoreFile
deviates from the documentation. Currently NONE is always interpreted as
a file path, even for PKCS11. Looks like the comparison with NONE should
be inside the parentheses for the negation? A workaround is to use ""
instead of NONE.

https://github.com/apache/tomcat/blob/main/java/org/apache/tomcat/util/net/SSLUtilBase.java#L196

Yours,
Mikael

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Wrong logic for NONE as certificateKeystoreFile?

Posted by Mark Thomas <ma...@apache.org>.
Thanks for the report. Fixed for the September release round.

Mark


On 05/08/2021 14:09, Mikael Sterner wrote:
> It seems like the logic implemented for NONE as certificateKeystoreFile
> deviates from the documentation. Currently NONE is always interpreted as
> a file path, even for PKCS11. Looks like the comparison with NONE should
> be inside the parentheses for the negation? A workaround is to use ""
> instead of NONE.
> 
> https://github.com/apache/tomcat/blob/main/java/org/apache/tomcat/util/net/SSLUtilBase.java#L196
> 
> Yours,
> Mikael
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org