You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository is made available under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0).
190
-
191
-
192
-
FAQ
193
-
---
194
-
195
-
## log.warn lines from `CryptoStreamFactory`
196
-
197
-
`WARN: Unable to initialize cipher with OpenSSL, falling back to JCE implementation`
198
-
199
-
'Falling back to the JCE implementation' results in slower cipher performance than native OpenSSL. Resolve this by installing a compatible OpenSSL and symlinking it to the correct location, `/usr/lib/libcrypto.so`. (OpenSSL 1.0 and 1.1 are currently supported)
200
-
201
-
_Note: to support OpenSSL 1.1, we use releases from the [Palantir fork of commons-crypto](https://github.com/palantir/commons-crypto/releases) as support has been added to the mainline Apache repo, but no release made [since 2016](https://github.com/apache/commons-crypto/releases)._
202
-
203
-
```
204
-
Exception in thread "main" java.io.IOException: java.security.GeneralSecurityException: CryptoCipher {org.apache.commons.crypto.cipher.OpenSslCipher} is not available or transformation AES/CTR/NoPadding is not supported.
205
-
at org.apache.commons.crypto.utils.Utils.getCipherInstance(Utils.java:130)
206
-
at ApacheCommonsCryptoLoad.main(ApacheCommonsCryptoLoad.java:10)
207
-
Caused by: java.security.GeneralSecurityException: CryptoCipher {org.apache.commons.crypto.cipher.OpenSslCipher} is not available or transformation AES/CTR/NoPadding is not supported.
208
-
at org.apache.commons.crypto.cipher.CryptoCipherFactory.getCryptoCipher(CryptoCipherFactory.java:176)
209
-
at org.apache.commons.crypto.utils.Utils.getCipherInstance(Utils.java:128)
0 commit comments