Generating Diffie Hellman key with shell

Status
Not open for further replies.

BrandonS

Dabbler
Joined
Dec 3, 2013
Messages
13
Hello,

I was wondering if someone can point me in the right direction for creating some certs. I am using FreeNAS as a CA and then signed some server/client certs to use with OpenVPN on a router. I haven't been able to figure out how to generate a dh key from the shell. I know easy-rsa is at /usr/local/share/easy-rsa and the certs from the GUI are /etc/certificates. I'm having trouble bridging the gap of how the vars work. I just need to use them and run build-dh to get the last pem. I could go do this on another machine but if I could figure out the DH part on freenas where I am generating all my other certs that would be great. It would be cool if the GUI had an option, but in 9.3 I don't see anything related to it.

Thank you in advance.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Code:
openssl dhparam -out dhparams.pem 2048
 
Status
Not open for further replies.
Top