Displaying 7 results from an estimated 7 matches for "showhostkey".
2016 Apr 01
5
Libreswan PEM format
Sorry but I have looked for over two days. Trying every command I could find.
There is obviously a misunderstanding somewhere.
After generating a key pair with
ipsec newhostkey --configdir /etc/ipsec.d --output /etc/ipsec.d/my.secrets
I exported to a file with
ipsec showhostkey --ipseckey > file
The man pages says
ipsec showhostkey outputs in ipsec.conf(5) format,
Ie
***.server.net. IN IPSECKEY 10 0 2 .
AQPs3gZ6GBRJSoy/6RxrL/cMv0JnYEKR/SYmXUCVlkBFNi2D7VJsa17ffvmBUjLLD6/T72M31JvlPhkSzK/YSPpoh8hNtSB4IDlD2WGks+hYlnQ4ZSOaj5LHFRFochUVQAiSWgx4OnvI9cYrj+rDZL/0vtGeL...
2016 Apr 01
2
Libreswan PEM format
...g every command I could
>> find.
>>
>> There is obviously a misunderstanding somewhere.
>>
>> After generating a key pair with
>> ipsec newhostkey --configdir /etc/ipsec.d --output /etc/ipsec.d/my.secrets
>>
>> I exported to a file with
>> ipsec showhostkey --ipseckey > file
>>
>> The man pages says
>> ipsec showhostkey outputs in ipsec.conf(5) format,
>>
>> Ie
>>
>>
>> ***.server.net. IN IPSECKEY 10 0 2 .
>>
>> AQPs3gZ6GBRJSoy/6RxrL/cMv0JnYEKR/SYmXUCVlkBFNi2D7VJsa17ffvmBUjLLD6/T72M...
2016 Apr 01
2
Libreswan PEM format
...is obviously a misunderstanding somewhere.
>> >>
>> >> After generating a key pair with
>> >> ipsec newhostkey --configdir /etc/ipsec.d --output
>> /etc/ipsec.d/my.secrets
>> >>
>> >> I exported to a file with
>> >> ipsec showhostkey --ipseckey > file
>> >>
>> >> The man pages says
>> >> ipsec showhostkey outputs in ipsec.conf(5) format,
>> >>
>> >> Ie
>> >>
>> >>
>> >> ***.server.net. IN IPSECKEY 10 0 2 .
>> >>...
2016 Apr 01
0
Libreswan PEM format
...have looked for over two days. Trying every command I could
> find.
>
> There is obviously a misunderstanding somewhere.
>
> After generating a key pair with
> ipsec newhostkey --configdir /etc/ipsec.d --output /etc/ipsec.d/my.secrets
>
> I exported to a file with
> ipsec showhostkey --ipseckey > file
>
> The man pages says
> ipsec showhostkey outputs in ipsec.conf(5) format,
>
> Ie
>
>
> ***.server.net. IN IPSECKEY 10 0 2 .
>
> AQPs3gZ6GBRJSoy/6RxrL/cMv0JnYEKR/SYmXUCVlkBFNi2D7VJsa17ffvmBUjLLD6/T72M31JvlPhkSzK/YSPpoh8hNtSB4IDlD2WGks+hYlnQ...
2016 Apr 01
0
Libreswan PEM format
...gt;>
> >> There is obviously a misunderstanding somewhere.
> >>
> >> After generating a key pair with
> >> ipsec newhostkey --configdir /etc/ipsec.d --output
> /etc/ipsec.d/my.secrets
> >>
> >> I exported to a file with
> >> ipsec showhostkey --ipseckey > file
> >>
> >> The man pages says
> >> ipsec showhostkey outputs in ipsec.conf(5) format,
> >>
> >> Ie
> >>
> >>
> >> ***.server.net. IN IPSECKEY 10 0 2 .
> >>
> >>
> AQPs3gZ6GBRJSoy/...
2016 Apr 01
2
Libreswan PEM format
I have tried
openssl rsa -in bicester_left.pub -outform pem > bicester_left.pem
I get
unable to load Private Key
140372295030648:error:0906D06C:PEM routines:PEM_read_bio:no start
line:pem_lib.c:701:Expecting: ANY PRIVATE KEY
On 1 April 2016 at 13:59, Eero Volotinen <eero.volotinen at iki.fi> wrote:
> You can do any kind of format conversions with openssl commandline client.
>
2016 Apr 01
0
Libreswan PEM format
...ewhere.
> >> >>
> >> >> After generating a key pair with
> >> >> ipsec newhostkey --configdir /etc/ipsec.d --output
> >> /etc/ipsec.d/my.secrets
> >> >>
> >> >> I exported to a file with
> >> >> ipsec showhostkey --ipseckey > file
> >> >>
> >> >> The man pages says
> >> >> ipsec showhostkey outputs in ipsec.conf(5) format,
> >> >>
> >> >> Ie
> >> >>
> >> >>
> >> >> ***.server.net. IN...