Error: --dh fails with `dh.pem` no such file or directory

Scripts to manage certificates or generate config files

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Locked
igotquestions
OpenVpn Newbie
Posts: 4
Joined: Sat Feb 20, 2016 5:05 pm

Error: --dh fails with `dh.pem` no such file or directory

Post by igotquestions » Sat Feb 20, 2016 5:11 pm

Hi, when i run the NAME.ovpn, there is an error: openvpn openvpn Options Error: --dh fails with `dh2048.pem` no such file or directory.
I have the OpenVPN installed on a Linux Server.

What can I do?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: Options Error

Post by Traffic » Sat Feb 20, 2016 6:04 pm

igotquestions wrote:dh fails with `dh2048.pem` no such file or directory.
You have to create your PKI.

Setting up your own Certificate Authority (CA) and generating certificates and keys for an OpenVPN server and multiple clients

igotquestions
OpenVpn Newbie
Posts: 4
Joined: Sat Feb 20, 2016 5:05 pm

Re: Options Error

Post by igotquestions » Sun Feb 21, 2016 2:08 pm

Thanks, so i only have to create a Certificate? Do I have when I create the certificate indicate something specific?

igotquestions
OpenVpn Newbie
Posts: 4
Joined: Sat Feb 20, 2016 5:05 pm

Re: Options Error

Post by igotquestions » Sun Feb 21, 2016 3:37 pm

Edit: I tried many tutorials to create a certificate: Still the same problem :(

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: Options Error

Post by Traffic » Sun Feb 21, 2016 5:48 pm

igotquestions wrote: --dh fails with `dh2048.pem` no such file or directory
Do you understand what this means ?

Locked