[CentOS] Libreswan PEM format

Fri Apr 1 12:55:14 UTC 2016
Glenn Pierce <glennpierce at gmail.com>

Hi I am trying to setup a libreswan vpn between centos 7 and a Mikrotik router.

I am try to get the keys working. My problem is the Mikrotik router
wants the key in PEM format

How do I export the keys generated with ipsec newhostkey
into PEM format ?


Thanks