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 22.214.171.124 is not trusted ERROR: The certificate of 126.96.36.199 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?