-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
Keystores kept here: https://github.com/microprofile/microprofile-rest-client/tree/main/tck/src/main/resources/ssl
Can not be read using security providers that don't support the old PBE algorithm. Using a new openSSL client you can see more detail:
# openssl pkcs12 -info -in client.keystore -noout -passin pass:"<password>"
MAC: sha1, Iteration 100000
MAC length: 20, salt length: 20
PKCS7 Data
Shrouded Keybag: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 50000
PKCS7 Encrypted data: pbeWithSHA1And40BitRC2-CBC, Iteration 50000
Error outputting keys and certificates
005FD40D02000000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:355:Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()
A suggested fix would be to use a modern keytool to import and export the keystore so that it uses the latest supported keystore algorithms.
keytool -importkeystore -srckeystore "$keystore_name" -destkeystore "$keystore_name" -srcstorepass "$keystore_password" -deststorepass "$keystore_password"
Metadata
Metadata
Assignees
Labels
No labels