[keycloak-user] Manually input Realm Keys

Stian Thorgersen sthorger at redhat.com
Fri May 13 01:48:03 EDT 2016


Keycloak expects both keys in PEM format.

ssh-keygen writes the private key in PEM format, but not the public key.
You can create the public key from the private key with ssh-keygen or
openssl:

  ssh-keygen -f mykey -e -m pem
  openssl rsa -in mykey -pubout


On 12 May 2016 at 18:46, Emanuel Couto <emanuel.amaral.couto at gmail.com>
wrote:

> Hello
>
> I'm trying to manually input keys in a Realm. I tried generating a key
> pair using 'ssh-keygen':
>
> $ ssh-keygen
>
> Then I copied the content of 'id_rsa' and 'id_rsa.pub' to the input boxes
> and pressed "Upload Keys". However an error message is shown "Failed to
> decode public key".
>
> How do I manually input a key pair or certificate?
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160513/eb503c35/attachment.html 


More information about the keycloak-user mailing list