olamy commented on PR #591:
URL: https://github.com/apache/mina-sshd/pull/591#issuecomment-2327761877

   @tomaswolf I did some successful testing. 
   But I will still need the registar because the environment where it's 
running is very restrictive and even have a SecurityManager installed to block 
registration of SecurityProvider. 
   So without using the registar, the Apache Mina is trying to register the 
`BCFIPS` and `BC` :) 
   
   ```
   Caused: java.lang.IllegalArgumentException: Failed to register BC as a JCE 
provider
     at PluginClassLoader for 
mina-sshd-api-common//org.apache.sshd.common.util.security.SecurityUtils.registerSecurityProvider(SecurityUtils.java:534)
     at PluginClassLoader for 
mina-sshd-api-common//org.apache.sshd.common.util.security.SecurityUtils.register(SecurityUtils.java:489)
     at PluginClassLoader for 
mina-sshd-api-common//org.apache.sshd.common.util.security.SecurityUtils.isBouncyCastleRegistered(SecurityUtils.java:438)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to