[Watford] OpenVPN
Ishaq
ishaqx at gmail.com
Wed Jan 29 19:34:22 UTC 2014
Seems like a file path issue ... i.e. the certifcate and key files
specified in the configuration can't be found. Maybe worth trying adding
the full path to the *.crt and *.key files in the config file.
There is also a possibility that the config file contains a line tthat
specifies the general path for the related crt files.
On Wed, Jan 29, 2014 at 7:29 PM, Alan Secker <alansecker0 at gmail.com> wrote:
> On 29/01/14 16:14, Alain Williams wrote:
>
>> On Wed, Jan 29, 2014 at 11:00:52AM +0000, Alan Secker wrote:
>>
>>> I'm back on to trying to get this to work.
>>>
>>> On the server side, I think I have sorted out everything except for
>>> the static address issue but I want to tackle that separately. My
>>> current
>>> problem stems from what happens when I try and start the client side.
>>>
>>> This is what happens:
>>>
>>> I prepared a client.conf file following someone's instructions (while
>>> understanding little). When I tested it with:
>>>
>>> # openvpn /etc/openvpn/client.conf
>>>
>>> the following error was generated.
>>>
>>> Options error: If you use one of --cert or --key, you must use them both
>>>
>>> A comment-stripped copy of the client.conf file, looks like this:
>>>
>>> ##########################################################
>>> # Customised Sample client-side OpenVPN 2.0 config file #
>>> # based on Vincent Danen's article in techrepublic blog #
>>> # with comments removed #
>>> ##########################################################
>>>
>>> client
>>> dev tun
>>> proto udp
>>> remote 10.8.0.0 1194
>>> nobind
>>> user nobody
>>> group nobody
>>> persist-key
>>> persist-tun
>>> ca ca.crt
>>> cert netbook.crt
>>> cert netbook.key
>>>
>>
>> The above line should read:
>>
>> key netbook.key
>>
>> comp-lzo
>>> pull dhcp-options
>>>
>>
>> Regards
>>
>>
> Thanks Alain,
> That has moved the problem on a tad. The command now returns:
>
> # openvpn /etc/openvpn/client.conf
> Options error: --ca fails with 'ca.crt': No such file or directory
> Options error: --cert fails with 'netbook.crt': No such file or directory
> Options error: --key fails with 'netbook.key': No such file or directory
> Options error: Please correct these errors.
>
> The certificates are all in /etc/openvpn so I cannot see why they cannot
> be seen(?)
>
>
>
>
>
> _______________________________________________
> Watford mailing list
> Watford at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/watford
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/watford/attachments/20140129/a76b4cc1/attachment.html>
More information about the Watford
mailing list