How to get wget to trust my self signed certificate without using --no-check-certificate?

Nens May 18, 2015

I was searching around for answers and it seems that I have to add certification to /etc/ssl/certs. 

Here's the error

ERROR: cannot verify company-jira.com's certificate, issued by ‘/C=US/O=Company_Name/CN=Intel Intranet Basic Issuing CA 2B’:
Self-signed certificate encountered.
To connect to company-jira.com insecurely, use `--no-check-certificate'.

How do I add a certification to /etc/ssl/cert?

1 answer

0 votes
rrudnicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 18, 2015

Based on wget man page, this looks like to affect the server certificate. You need to specify your self-signed certificate as a valid CA certificate locally.

To do this, specify the certificate as --ca-certificate=... in wget.

This link also can be useful: 

http://unix.stackexchange.com/questions/90450/adding-a-self-signed-certificate-to-the-trusted-list

 

Hope this helps.

Regards, 

Renato Rudnicki

Suggest an answer

Log in or Sign up to answer