4 lines
178 B
Bash
4 lines
178 B
Bash
#!/bin/sh
|
|
wget "$2?operation=GetCACert&message=&base64=1&onlyRoot=1" -O $3
|
|
wget "$2?operation=GetCACert&message=&base64=1&skipRoot=1" -O /tmp/inter.cer
|
|
cat $1 /tmp/inter.cer > $4 |