As it turns out, my version of openssl (in Redhat 6.x with FIPS mode 
enforced) can't generate the right PEM format for BouncyCastle to parse 
into a PEMKeyPair object.  BouncyCastle only parses (from my testing) a 
traditional PEM (or SSLeay PEM format) which is unique from PKCS#1 and 
PKCS#8.  The BC documentation is extremely light on this topic in PEMParser 
javadoc.

So i'm giving it a DER format key and it works now, as there is only one 
DER format supposedly.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/bce8e284-f818-4d1b-b987-0aca6f9c1560%40apereo.org.

Reply via email to