wget can't upload file through HTTPS

   When using wget with https, if you get the following error:

Could not seed PRNG; consider using --random-file.
Disabling SSL due to encountered errors.

    It means that the udev daemon may be in physical mode.   Create the /dev/random device manually:

mknod /dev/random c 1 8

 

    Actually, most client don't want to use this way, but you need use wget to trigger the command with https, so how to resolve this. please refer to below;

     1.  firstly, using openssl to generate a rand seed

     2. then using WGET  https://xxx.com  --random-file /tmp/randseed

你可能感兴趣的:(upload)