openssl public key der to pem
openssl rsa -pubin -in user_id_rsa.pub -inform DER -outform PEM -out pubkey.pem
Arno Deceuninck
openssl rsa -pubin -in user_id_rsa.pub -inform DER -outform PEM -out pubkey.pem