OpenVPN example of creating a Diffie-Hellman prime
From Telecomix Crypto Munitions Bureau
Building a diffie-hellman prime is simple, just type ./build-dh inside your OpenVPN 2.0 easy-rsa directory.
belial:~/2.0# ./build-dh Generating DH parameters, 2048 bit long safe prime, generator 2 This is going to take a long time .......................+..............+................................................................... ....................................................................+.............................+....... ........+............................................................+.........+............+............. ................+...................................+........+............................................ ......+................................................................................................... ..+....................................................................................................... ................................................+......................................................... ...........................+.........+.................................................................... .......................................................+.....................................+............ ..............................+............................................+.............................. .......................................................................................................... .......................................................................................................... .......................................................................................................... .......................................................................................................... .....................................................+....................+............................... ..................................................................................................+....... ...........................................+.............................................................. ............................................+............................................................. .......................................................................................................... .......................................................................................................... .....................+............+....................................................................... .......................................................................................................... .....................+...............................................+.................................... ...........................................+...........+.................................................. ..................+..............................................................+........................ ............................................+............................................................. .........................................+..........+..................................................... ...................................................................................+...................... ........................................+................................................................. ....................................................+..................................................... ..............................................................+........................................... ........................................................+.................+.....+......................... .......................................................................................................... ............................................................................+............................. .......................................................................................................... ...................................+...+.................................................................. .+...+...............................................+......................+............................. .......................................................................................................+.. ..+....................................................................................................... ......................................................................................................+... .......................................................................................................... .......................................................................................................... ......................+.....................................................+............................. .......................................................................................................... .........................................................................................................+ ................+......................................................................................++* ++* belial:~/2.0#