@atm-quentin The toolkit does not support PKCS8 encrypted format. There is no support to decrypt the encrypted key, so this format is not supported in the formatPrivateKey method.
You can execute:
openssl rsa -in encrypted_pem.key -out pem.key
provide the pass phrase and generate a "RSA PRIVATE KEY"
@atm-quentin The toolkit does not support PKCS8 encrypted format. There is no support to decrypt the encrypted key, so this format is not supported in the formatPrivateKey method.
You can execute:
provide the pass phrase and generate a "RSA PRIVATE KEY"