I'm trying to make a bash script who will check the SSL status of my web site client and return the error. But for every IP,
wget https://$ip:$port gives me the following error:
ERROR: The certificate of 220.127.116.11 is not trusted ERROR: The certificate of 18.104.22.168 hasn't got a know issuer
When I try with Firefox I have the certificate for each IP. So I tried to dump the Firefox CA to a repository like this:
wget http://$ip:$port --ca-directory=(directory of CA from Firefox)
But it doesn't change anything.
wget doesn't find SSL certificate and I don't know to get them.
How can I get the certificate information?