From eeb3fbf670789435ac83b0fba9bf313fe2c95bc9 Mon Sep 17 00:00:00 2001 From: jinmei Date: Thu, 3 Feb 2005 19:41:31 +0000 Subject: [PATCH] provided an easy way to generate a new secret using openssl. --- kame/kame/dhcp6/dhcp6c.conf.5 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/kame/kame/dhcp6/dhcp6c.conf.5 b/kame/kame/dhcp6/dhcp6c.conf.5 index c78f1fd9ee..e8b3bb01f0 100644 --- a/kame/kame/dhcp6/dhcp6c.conf.5 +++ b/kame/kame/dhcp6/dhcp6c.conf.5 @@ -1,4 +1,4 @@ -.\" $KAME: dhcp6c.conf.5,v 1.28 2005/02/03 19:37:35 jinmei Exp $ +.\" $KAME: dhcp6c.conf.5,v 1.29 2005/02/03 19:41:31 jinmei Exp $ .\" .\" Copyright (C) 2002 WIDE Project. .\" All rights reserved. @@ -549,6 +549,18 @@ keyinfo kame-key { }; .Ed .Pp +One easy way of generating a new secret in the base64 format is to +execute the +.Xr openssl 1 +command (when available) as follows, +.Bd -literal -offset +% openssl rand -base64 16 +.Ed +.Pp +and copy the output to the +.Nm dhcp6c.conf +file. +.Pp To include an authentication option for DHCPv6 authentication, the .Ic interface