Hi all,
I’m trying to setup a SSO scenario with SAPAssertionSSO for my HTML5 application developed with RDE on trial landscape.
The target system is an on premise Gateway for OData HTML traffic.
I’ve followed the manual for configuring the properties of the HTTP destination in the cockpit. In particular:
Certificate, SigningKey should be the relevant properties
I generated the RSA private key through an online tool and then converted it to pkcs8 through openssl.
In the “SigningKey” property of the destination I pasted the contents between -----BEGIN ENCRYPTED PRIVATE KEY----- and -----END ENCRYPTED PRIVATE KEY-----
The error I keep getting at runtime is:
Cannot create http client due to :java.security.spec.InvalidKeySpecException: Inappropriate key specification: IOException : DER input, Integer tag error
I've made several other attempts changing the encoding between PEM and DER, but still no luck.
I guess a problem exists with regards to the encoding/format of the private key.
Could anyone please assist on which format the private key should be in?
Thanks, regards
Vincenzo