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 1.2.3.4 is not trusted ERROR: The certificate of 1.2.3.4 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.
I think, wget doesn't find SSL certificate and I don't know to get them.
How can I get the certificate information?