How to create a script in FreeBSD
I need to do a script to run in a device with FreeBSD (F5 networks BIGIP).
I need to monitor an html page in some servers that need client certificate.
I've monitored those servers with the next two commands:
openssl s_client -host 172.16.64.210 -port 443 -cert /config/bigconfig/ssl.crt/C00000014.pem
I've done a script introducing only the first command and the var (IP and port) and it works. (openssl s_client -host $1 -port $2 -cert /config/bigconfig/ssl.crt/C00000014.pem)
But I cannot get the second command to run.
Could anyone help me?
I'm new in scripting. :-)