On 2015-08-19 14:06, [email protected] wrote:
> I think i will stick with the wget
>
> On Wed, Aug 19, 2015 at 6:00 PM, Karl O. Pinc <[email protected]> wrote:
>
>> On Wed, 19 Aug 2015 13:36:47 -0300
>> Emiliano Vazquez <[email protected]> wrote:
>>
>>> El 19/08/15 a las 13:28, [email protected] escibió:
>>>> Hi Emiliano!
>>>>
>>>> My script tests if the certificate is installed before try to
>>>> install a new one. If the certificate is alredy installed it
>>>> doesn't download again.
>>> Ok.
>>>
>>> download a certificate over wget is not the most secure way to do
>>> this. SCP is a better way to do the same and is secure.
>>> Maybe you can edit /etc/init.d/openvpn and add your custom scripts
>>> inside this.
>>
>> Agreed. But if you're going to use scp then you presumably
>> need to install a private key to do the scp. In which case
>> you may as well install the certificate instead and have
>> it be there every boot and not have to bother with
>> getting something over the network.
>>
>> Karl <[email protected]>
>> Free Software: "You don't pay back, you pay forward."
>> -- Robert A. Heinlein
>>
>> _______________________________________________
>> openwrt-users mailing list
>> [email protected]
>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users [1]
>
> --
>
> Fábio Oliveira - Public Key [2]
>
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users [1]
I hope you plan on using the full wget with SSL support, and password
protect the directory where the config is hosted at least
eg.
wget -4 --user UserName --password Passw0rd --no-check-certificate
https:// ....
Tim
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the
system manager. This message contains confidential information and is
intended only for the individual named. If you are not the named
addressee you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. If you are
not the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
information is strictly prohibited.
Links:
------
[1] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
[2]
http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search=0x42AC3018C11E30BF
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users