OpenVPN-2.1.1HowTo/Crear la Semilla Diffie Hellman

De WikiCabal
Ir a la navegación Ir a la búsqueda

Instalación

[root@charon 2.0]# ./build-dh
Generating DH parameters, 1024 bit long safe prime, generator 2
This is going to take a long time
...........................................................+...................................
.................................................+...+.........................................
+..................................................................................+...........
................+.......................................................+......................
...............................+........................................+......................
.....................................+..........+..............................................
...............................................................+....................+..+.......
...............................+...............+.......................................+.......
.................+.............................................................................
................+..................+...........................................................
................................................+................+.+...........................
..+..+.........................................................................................
....................................................................................+..........
.................+...........................+...............+..........+......................
..............................................................+.....................+..........
++*++*++*
[root@charon 2.0]# 
[root@charon 2.0]# ls -al keys/
total 16
drwxr-xr-x 2 root root 4096 2012-10-17 16:07 ./
drwxr-xr-x 3 root root 4096 2012-10-17 16:03 ../
-rw-r--r-- 1 root root  245 2012-10-17 16:05 dh1024.pem
-rw-r--r-- 1 root root    0 2012-10-17 15:27 index.txt
-rw-r--r-- 1 root root    3 2012-10-17 15:25 serial
[root@charon 2.0]# cat keys/serial
00
[root@charon 2.0]# 
[root@charon 2.0]# cat keys/dh1024.pem 
-----BEGIN DH PARAMETERS-----
MIGHAoGBAIK5pWejbVjLpKkI2DxmBcXBPpXz1uukDwmVPiOkB27AJddunzr6Xcsv
77Fi98yFYmJxy8TqasAMckaUFeQT2IQs4En8wp1E4Q52sJz5qP7+hI7rAAy26DqO
qzOKdUyl4XDZFNkSqjJl9kiymqGqF8YyWGS0uGGA8xQTO+ONJT17AgEC
-----END DH PARAMETERS-----
[root@charon 2.0]# 

Explicación