OpenSSL version: OpenSSL 3.3.1 4 Jun 2024 (Library: OpenSSL 3.3.1 4 Jun 2024)
The generated certificate key file format is PKCS#8, but the example only loads PKCS#1 keys.
Please modify the example code to adapt to both formats, or add version-specific parameters when generating certificates.
Error message:
org.bouncycastle.asn1.pkcs.PrivateKeyInfo cannot be cast to org.bouncycastle.openssl.PEMKeyPair
This issue was automatically translated from Chinese.