Repair (?) "wget: error getting response: Invalid argument"
This commit is contained in:
parent
b5816a3e59
commit
23d72630c8
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
apk add ca-certificates openssl
|
apk add ca-certificates openssl wget
|
||||||
openssl s_client -showcerts -connect "$1":3127 </dev/null 2>/dev/null \
|
openssl s_client -showcerts -connect "$1":3127 </dev/null 2>/dev/null \
|
||||||
| openssl x509 | tee /usr/local/share/ca-certificates/synit-squid-snakeoil.crt
|
| openssl x509 | tee /usr/local/share/ca-certificates/synit-squid-snakeoil.crt
|
||||||
update-ca-certificates
|
update-ca-certificates
|
||||||
|
|
Loading…
Reference in New Issue